Get a Product Variant
GET
/store/variants/{id}Retrieve a Product Variant's details. For accurate and correct pricing of the product variant based on the customer's context, it's highly recommended to pass fields such asregion_id
, currency_code
, and cart_id
when available.
Passing sales_channel_id
ensures retrieving only variants of products available in the current sales channel.
You can alternatively use a publishable API key in the request header instead of passing a sales_channel_id
.
Request
The ID of the Product Variant.
The ID of the sales channel the customer is viewing the product variant from.
The ID of the cart. This is useful for accurate pricing based on the cart's context.
The ID of the region. This is useful for accurate pricing based on the selected region.
A 3 character ISO currency code. This is useful for accurate pricing based on the selected currency.