Delete a SKU list

How to delete an existing SKU list via API

To delete a SKU list, send a DELETE request to the /api/sku_lists/:id endpoint, where id is the id of the SKU list that you want to delete.

Request

DELETE https://yourdomain.commercelayer.io/api/sku_lists/:id

Example

The following request tries to delete the SKU list identified by the ID "xYZkjABcde":

curl -g -X DELETE \
  'https://yourdomain.commercelayer.io/api/sku_lists/xYZkjABcde' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer your-access-token'

Last updated