Square API call

I am looking for a sample code snippet in PHP of how I can make a square API call to get all my square products and corresponding info such as category sku price etc.  My intention is to run this once per day and update a database on my website with the information. This way I can populate my e-commerce store and when customer processes order I can hopefully pass the information to orders API to get an itemized transaction

1,092 Views
Message 1 of 4
Report
1 Best Answer
Admin

Best Answer

Hi @maandme_ca - thanks for the note! It looks like you stumbled on an old post. Here is the current link for developer documentation: https://developer.squareup.com/docs. Hope this helps! 😊

 

️ Kristen
Square Community Manager
Product Engagement

️ Kristen
Square Community Manager
Product Engagement

View Best Answer >

113 Views
Message 4 of 4
Report
3 REPLIES 3
Admin

I'm sorry for the delay in this reply@Dugie33!

 

We currently don't have PHP examples for exactly what you're looking for but a great place to start is with the the Catalog Steup documentation and Inventory Setup documentation.

️ Helen
Seller Community Manager

1,079 Views
Message 2 of 4
Report

Both those links don't work 😞

353 Views
Message 3 of 4
Report
Admin

Best Answer

Hi @maandme_ca - thanks for the note! It looks like you stumbled on an old post. Here is the current link for developer documentation: https://developer.squareup.com/docs. Hope this helps! 😊

 

️ Kristen
Square Community Manager
Product Engagement

️ Kristen
Square Community Manager
Product Engagement
114 Views
Message 4 of 4
Report
grz-custom-initialLetter