Cost of Goods Sold

Coming back after 3 years to see if there are any plans to add Vendor data, specifically vendor code and cost to the api? As stated, it’s a “very popular” request.

Yes, this is a very popular request and the team is aware. We hope to have more for you soon. :slightly_smiling_face:

Two or three years later, and this still isn’t available? Add my name to the list. We can add these through a spreadsheet, but we should be able to do it with an API. As a new user to Square, I’m just digging in and will pile on my frustration as items are unavailable in your API. I need to be able to update the cost of goods when creating items in the catalog and link catalog items to a vendor.

Please add my name to the list. We need this to support showing Unit Cost of items that originate from our supplier manifests. We are using the Catalog API to add/update items to the store along with Inventory API to add stock. We also need to link our products to vendors. With over 10,000 items in the Square catalog, setting those values manually is not possible.

+1 Also very interested in this. Please add my name to the list. Ideally, we would be able to adjust the cost when pushing stock to inventory while receiving a purchase order. A field added to the adjust inventory APIs so include the cost would be great.

@Bryan-Square I am trying to get all vendor information - All vendors for an item, all vendor item codes for each vendor, and cost of goods for each vendor. Is this still not supported?

Is there an easy way to at least pull default vendor, default vendor item code and default item cost?

At this time this is still currently not available with our APIs. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

Been a while since anyone chimed in so I figured I would emphasize the need for Vendor data to be exposed to the API.

Same here. Access to vendor and cost of a product via the API would be very helpful for our processes/tools

Unofficially, last time I checked, itemVariationVendorInfos are returned by the catalog api. Still no way to update this data via the api though.

Indeed, thanks for pointing this out! it solves half of my problem :grinning_face:

Bump. This thread shall not go cold for a month.

It seems really hard to understand why this has been an issue since May 2020 and unit cost is still not available to developers. This makes no sense. Especially in these days of AI programing…

Looks like this is finally happening: Square APIs and SDKs: 2026-07-15 Changelog

1 Like

Updating my (beta) app right away! Woot! (crossing fingers)

1 Like

Let us know if you run into any issues!

Since this api operation depends on the merchant’s Square subscription level (minimum Plus plan), it would be nice to be able to obtain that via the api (or webhook). Right now it looks like sending cost data on an inventory update for a merchant on the free plan returns 403, which is fine, but it would be nice to be able to proactively adjust the api call to avoid such a failure rather than use a “try with cost, then retry on 403” approach. Otherwise, thank you for adding this, as it’s been a long time coming :folded_hands:.

1 Like