DELETE
Delete a price list
Scope:
inventory:rates.writehttps://api.holded.com/api/v2/price-lists/{priceListId}Deletes a price list (rate) by its unique identifier. References from products, contacts, or POS stores are not cleaned up; consumers must tolerate missing rates on read.
Parameters
Path parameters
priceListId
stringrequiredPrice List ID (24-char hex ObjectId)
Request
python
import requests
url = "https://api.holded.com/api/v2/price-lists/{priceListId}"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.delete(url, headers=headers)
print(response.json())Responses
Success responses
204Price list deletedError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Price list not foundapplication/json