Product API reference
You can make a GET
request for the information of any product using the Ajax Product API.
All Ajax API requests should use locale-aware URLs to give visitors a consistent experience.
GET /{locale}/products/{product-handle}.js
Anchor link to section titled "GET /{locale}/products/{product-handle}.js"Get the JSON of a product using the product handle.
All monetary properties are returned in the customer's presentment currency. To check the customer's presentment currency, you can use the currency
field of the /{locale}/cart.js
endpoint. To learn more about selling in multiple currencies, see Support multiple currencies and languages.
The JSON of the product.
Example:
Selling plan example
Anchor link to section titled "Selling plan example"Products with selling plans will have the following additional properties available at /{locale}/products/<handle>.js
.