GET
Authorization
Use your public or secret key.string
required
Bearer followed by your public or secret key.Path Parameters
string
required
The product’s
slug, from All products.Response
Returned with status200.
Variants
- A variant is one size and color combination, with its own
priceand stock. - Only sizes or only colors: the missing one is
null. No sizes or colors:variantsis empty. - At checkout, send the variant’s
sizeandcolorNameassizeandcolor. availableQuantity: nullmeans stock isn’t tracked (no limit). UseisSoldOut.
Error Responses
Product not found
Product not found
Returned with status
404 when there’s no product with this slug in the store, or it’s archived.Internal error
Internal error
Returned with status
500 when something went wrong on Baag’s side. Retry.401, 403, 429) are on API keys.