Import allowed values for attribute
POST {{baseUrl}}/v1/attributes/:attributeId/allowed_list/import
Upload a CSV file containing a list of picklist values for the specified attribute.
The file should be sent as multipart data.
The import replaces the previous list of allowed values for this attribute, if any.
The CSV file must only contain the following column:
- item
(required): the values in your allowed list, for example a list of SKU's.
An allowed list is limited to 500,000 items.
Example:
item
CS-VG-04032021-UP-50D-10
CS-DV-04042021-UP-49D-12
CS-DG-02082021-UP-50G-07
Request Body
[{"name"=>"upFile", "value"=>"cillum", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |