GET /v2/inventory/{catalog_object_id}
Retrieves the current calculated stock count for a given CatalogObject at a given set of Locations. Responses are paginated and unsorted. For more sophisticated queries, use a batch endpoint.
Servers
- https://connect.squareup.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
catalog_object_id |
String | Yes |
ID of the CatalogObject to retrieve. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
location_ids |
String | No |
The Location IDs to look up as a comma-separated list. An empty list queries all locations. |
cursor |
String | No |
A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See the Pagination guide for more information. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.