Get product availability in a store
GET/api/productavailability/:siteId/:productId
Retrieves product availability at a specific store/site.
Request
Responses
- 200
- 400
- 404
- 500
Success: The product's availability at the given store is retrieved.
Bad request: StorefrontOrigin not passed in header; the request wasn’t valid or can’t be otherwise served. Typical when there is a syntax error in the request. Further details of the error are provided in the response payload body.
Not found: The Omni Subscription is not assigned to the site group; the URI isn’t valid or the requested resource doesn’t exist.
Internal server error: The default tenant is not configured or the context customer derivation strategy is not valid. This is usually a temporary error, for example in a high load situation or if an endpoint is temporarily having issues.