Associate attachments to SKU

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:

AttributeTypeDescription
SkuIdarrayArray with SKU IDs
AttachmentNamesarrayArray 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:

AttributeTypeDescription
StatusCodeintegerHTTP Status Code
StatusDescriptionintegerHTTP Status Description

Authentication

This is a private API and need credentials with viewer access.

Learn more about Creating appKeys and appTokens to authenticate integrations

Language
Authentication
URL
Click Try It! to start a request and see the response here!