Content
The content endpoints provide additional endpoints to the Umbraco Content Delivery API to help with fetching product related 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.
get
/umbraco/delivery/api/v1/content/item/{id}/variant
Path parameters
idstring · uuidrequired
The ID of the content item that has an Umbraco Commerce variants property editor defined on it
Example:
3658dedd-98e1-4d3f-b7a5-9bd37144a16f
Query parameters
attributestring[]required
The attribute combination of the variant to return
Example:
["key1:value1","key2:value2"]
Responses
application/json
application/json
application/json
cURL
JavaScript
Python
HTTP
200
400
404
Last updated
Was this helpful?