Get Product Availability
Revtrieve the availability status of products given their sku.
Multiple skus can be queried in a single request by passing the sku parameter in in array format:
?sku[]=ABC&sku[]1235&sku[]=.....
Valid response values for availability are
- In Stock
- Out of Stock
- Backordered
Return
Returns an array of availability objects. If one or more skus incorrectly formatted, the API call will error.
API
GET
/V1/dispensary/products/availability?sku[]=...
curl --location -g --request GET 'https://{{api_host}}/rest/{{scope}}/V1/dispensary/products/availability?sku[]=SF811' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{access_token}}'