post https://{accountName}.{environment}.com.br/api/catalog_system/pvt/sku/associateattachments
Amplifies a cart data by associating attachments to SKUs.
This request removes existing SKU attachment associations and recreates the associations with the attachments being sent.
Request body has the following properties:
Attribute | Type | Description |
---|---|---|
SkuId | array | Array with SKU IDs |
AttachmentNames | array | Array with all the attachments name that you need to associate to the SKU |
Request body example:
For example, in case you need to associate attachments to the SKU ID 799
, you will have to replace the variable SkuId
for 799
and the variable AttachmentNames
with the array:
{
"SkuId":"{{skuId}}",
"AttachmentNames":["{{attachmentName1}}","{{attachmentName2}}"]
}
Response object has the following properties:
Attribute | Type | Description |
---|---|---|
StatusCode | integer | HTTP Status Code |
StatusDescription | integer | HTTP Status Description |
Authentication
This is a private API and need credentials with viewer access.
Learn more about Creating appKeys and appTokens to authenticate integrations