API reference
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.


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


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'
On success, the API responds with a 204 No Content status code.
Copy link