Logo
Emporix Digital Commerce Platform API Documentation

Retrieving a product's details

GET {{api-url}}/product/{{tenant}}/products/{{productId}}?fields=name,mixins.productTemplateAttributes

Retrieves a specified product and its details.


Required scopes

  • product.product_read_unpublished

    Note: Only required if the product has not been published.

 

Body PARAM

Key Datatype Required Description 
fields
string Fields to be returned in the response. When this parameter is passed, only the `id`, `yrn` and `{fieldName}` are retrieved for each product. You can specify multiple fields by separating them with commas.



HEADERS

Key Datatype Required Description 
Accept-Language
string




RESPONSES

status OK

{ "id": "63c973c29f59d2018be64a2c", "yrn": "urn:yaas:saasag:caasproduct:product:apistage;63c973c29f59d2018be64a2c", "name": "T-shirt Puma", "mixins": { "productTemplateAttributes": { "color": "RED", "size": "L" } } }



Curl
curl -X GET 'api-url/product/api-url/products/api-url?fields=name,mixins.productTemplateAttributes?fields=name,mixins.productTemplateAttributes' -H 'Accept-Language: en'

ENDPOINTS