Content
By default the variants property editor from Umbraco Commerce will only return attribute information with a product node to save on excessive payload sizes. The variants endpoint can be called to dynamically fetch an attibute combinations content only when it is requested.
Path parameters
idstring · uuidRequiredExample:
The ID of the content item that has an Umbraco Commerce variants property editor defined on it
3658dedd-98e1-4d3f-b7a5-9bd37144a16fQuery parameters
attributestring[]RequiredExample:
The attribute combination of the variant to return
["key1:value1","key2:value2"]Responses
200
Success
application/json
400
Bad Request
application/json
404
Not Found
application/json
get
/umbraco/delivery/api/v1/content/item/{id}/variantLast updated
Was this helpful?