Alladdin

Work in progress

Site en construction

الموقع قيد الإنشاء

Alladdin
DELETE

Delete a price list

Scope: inventory:rates.write https://api.alladdin.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 string required

Price List ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.alladdin.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

204 Price list deleted

Error responses

401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Price list not found application/json

← PreviousGet a price list by ID →