post https://{accountName}.{environment}.com.br/api/catalog/pvt/stockkeepingunit//specification
Associates a previously defined Specification to an SKU
Request body has the following properties:
Attribute | Type | Description |
---|---|---|
FieldId | integer | Field ID |
FieldValueId | integer | Fied Value ID |
Request body example
{
"FieldId": 65,
"FieldValueId": 138
}
Response has the following properties:
Attribute | Type | Description |
---|---|---|
Id | integer | Specifications association ID with the SKU |
SkuId | integer | SKU ID |
FieldId | integer | Field ID |
FieldValueId | integer | Fied Value ID |
Text | string | Value inside the Field ID |
Response body example
{
"Id": 730,
"SkuId": 31,
"FieldId": 65,
"FieldValueId": 138,
"Text": "Size"
}