Inventory
Get inventory
Retrieves real-time stock information for specific product variants. Stock information is stored in an InventoryItem and up to 50 InventoryItems can be retrieved per request.
get/1.0/commerce/inventory/{variantIdCsvs}
Request
- Base URLhttps://api.squarespace.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
variantIdCsvsstring required
Specifies the InventoryItems to retrieve. Multiple InventoryItems can be retrieved by providing a comma-separated list: {id1},{id2}..., though the same sequence is not guaranteed in the response.
Headers
Authorizationstring required
API key or OAuth access token
User-Agentstring required
User Agent
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.