Retrieve variant detail
Retrieves the details of a particular variant. Product slug is supported in place of product ID, and variant slug in place of variant ID, in the path.
Documentation Index
Fetch the complete documentation index at: https://www.commercengine.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Access token
Headers
This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned.
Path Parameters
Product ID or product slug. Either is accepted in the path.
1"01H7YK0C86V9PGT0HXRJVEZXJQ"
"detox-candy"
Variant ID or variant slug. Either is accepted in the path.
1"01H7YK0D12ABC123VARIANT456"
"large-blue"
Query Parameters
Determines whether to include or exclude inventory details in response json