- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Don't see costs returned in the JSON from RetrieveCatalogObject or an option to include it. Price is there but I don't see a way to get item variation cost.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hi @donz! I escalated this to our API Specialist team for you. It sounds like you're looking for the item cost? The item cost is only available with Square Retail. At this time it's not available with Square APIs.
RetrieveCatalogObject will return a CatalogObject. To drill down in this object and see the price, you would need to drill down into the following fields: item_variation_data > price_money > amount.
Let me know if you have any questions about this.
Seller Community Manager
Did you find help in the Seller Community? Mark a Best Answer to help others.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Thanks Helen,
Yes, we're Square for Retail customers.
We have lots of items with lots of variations, some with cost, some without.
What I'm looking for is a way to access the cost for an item variation via the API but it sounds like it's stored somewhere within Square but not available through the API, correct ?
- Don
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
That's correct @donz. I can understand how it would be useful to access this through the API and I've shared this request with the API team. If this becomes available in future we'll add it to the API documentation and we'll update this thread too!
Seller Community Manager
Did you find help in the Seller Community? Mark a Best Answer to help others.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report