Retrieving a product's details
GET {{api-url}}/product/{{tenant}}/products/{{productId}}?fields=name,mixins.productTemplateAttributes
Retrieves a specified product and its details. Note: Only required if the product has not been published.
Required scopes
product.product_read_unpublished
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"
}
}
} |
ENDPOINTS