Get product availability
GET/api/productavailability/:productId
Retrieves list of store locations where the product is available.
Request
Responses
- 200
- 400
- 404
- 500
Success: A list of stores with product availability is returned.
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.