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.

Request Params

KeyDatatypeRequiredDescription
fieldsstringFields 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

KeyDatatypeRequiredDescription
Accept-Languagestring

RESPONSES

status: OK

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