Inbound | PUT | /master/sku-attributes
Summary
This API is used to add / update sku attributes.
Description
This API is used to add skuAttributes
if not existing, or update if already present.
Key points for usage
If the value of SKU Attribute does not exist against an SKU, it will be saved.
If the value of SKU Attribute already exists, providing an empty string
" "
against it in the payload will set the attribute value tonull
.If the value of Sku Attribute already exists, providing
null
in the payload will not update the attribute value against the attribute key.
Note : Single payload can contain sku-attributes against maximum 5000 channelSkus.
Request
{ "skuAttributeList": [ { "channelSkuCode": "erpArticleCode1", "skuAttributes": { "attribute1": "string", "attribute10": "string", "attribute11": "string", "attribute12": "string", "attribute13": "string", "attribute14": "string", "attribute15": "", "attribute2": "", "attribute3": "", "attribute4": "", "attribute5": null, "attribute6": null, "attribute7": null, "attribute8": null, "attribute9": null } }, { "channelSkuCode": "erpArticleCode2", "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 |
| String | Code used by channel to identify an SKU | yes |
| Object [ ] | SKU Attributes of the product | no |
Response
EmptyBody
HttpStatus : 200