Delete a shipping weight tier

How to delete an existing shipping weight tier via API

To delete a shipping weight tier, send a DELETE request to the /api/shipping_weight_tiers/:id endpoint, where id is the id of the shipping weight tier that you want to delete.

Request

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

Example

The following request tries to delete the shipping weight tier identified by the ID "xYZkjABcde":

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

Last updated