Retrieving a product
GET {{api-url}}/product/{{tenant}}/products/{{productId}}?rawValue=true&expand=parentVariant&fields=name,code
Body
PARAM
Key | Datatype | Required | Description |
rawValue
|
boolean | Flag indicating whether product variant(s) should include their parent variants' attribute values. If set to true, the result will contain values from both the variant and its parent variant. If set to false, the result will only contain variant values. | |
expand
|
string | Fields that should be expanded with additional information in the response body. Expressed as strings separated by commas. Possible values: template parentVariant | |
fields
|
string | Example: fields=name,code 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
ENDPOINTS