List all reserved stocks
How to fetch a collection of reserved stocks via API
To fetch a collection of reserved stocks, send a GET request to the /api/reserved_stocks endpoint.
Request
GET https://yourdomain.commercelayer.io/api/reserved_stocks
Example
The following request fetches a collection of reserved stocks:
curl -g -X GET \
'https://yourdomain.commercelayer.io/api/reserved_stocks/' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token'Remember that when you fetch a list of resources you get paginated result.
Sortable fields
The list of reserved stocks can be sorted by the following fields:
Attributes
quantityidcreated_atupdated_atreferencereference_origin
Relationships
stock_item
Filterable fields
The list of reserved stocks can be filtered by the following fields:
Attributes
quantityidcreated_atupdated_atreferencereference_originmetadata
Relationships
stock_itemsku
Last updated

