Delete a price frequency tier

How to delete an existing price frequency tier via API

To delete a price frequency tier, send a DELETE request to the /api/price_frequency_tiers/:id endpoint, where id is the id of the price frequency tier that you want to delete.

Request

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

Example

The following request tries to delete the price frequency tier identified by the ID "xYZkjABcde":

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

Last updated