This API is used to add / update sku attributes.
This API is used to add SKU Custom Attributes if not existing, or update if already present.
" " against it in the payload will set the attribute value to null.null in the payload will not update the attribute value against the attribute key.Note : Single payload can contain SKU Custom attributes against maximum 5000 channelSkus.
{
"skuAttributeList": [
{
"channelSkuCode": "channelSkuCode1",
"skuAttributes": {
"attribute1": "Size",
"attribute10": "Length",
"attribute11": "Width",
"attribute12": "Volume",
"attribute13": "Customisation",
"attribute14": "string",
"attribute15": "string",
"attribute2": "string",
"attribute3": "string",
"attribute4": "string",
"attribute5": null,
"attribute6": null,
"attribute7": null,
"attribute8": null,
"attribute9": null
}
},
{
"channelSkuCode": "channelSkusCode2",
"skuAttributes": {
"attribute1": "string",
"attribute10": "",
"attribute11": "",
"attribute12": "",
"attribute13": "",
"attribute14": "",
"attribute15": "",
"attribute2": "string",
"attribute3": "string",
"attribute4": "string",
"attribute5": null,
"attribute6": null,
"attribute7": null,
"attribute8": null,
"attribute9": null
}
}
]
}
| Parameter Name | Data Type | Description | Mandatory |
|---|---|---|---|
skuAttributeList.channelSkuCode |
String | Code used by channel to identify an SKU | yes |
skuAttributeList.skuAttributes |
Object [ ] | SKU Attributes of the product | no |
EmptyBody
HttpStatus : 200