Getting Card Stock Data
The Get Product Card Stock endpoint enables you to find out how much card stock you have associated with a product. You can retrieve a product's card stock by making a GET request to the Get Card Stock endpoint. For example:
{{base-url}}/products/{{product-id}}/stock
Note
For more information on how to obtain product ids, see Getting Product Data .
A successful response will return an HTTP 200 response code and the currently available stock for the card and the product id. Below is an example response:
{
"productId": 10023,
"availableStock": 1034
}
API Explorer
See the Get Card Stock endpoint.
Updated over 1 year ago