Alladdin

Work in progress

Site en construction

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

Alladdin
GET

List price lists

Scope: inventory:rates.read https://api.alladdin.com/api/v2/price-lists

Lists all price lists (rates) of the authenticated account.

Request

python
import requests

url = "https://api.alladdin.com/api/v2/price-lists"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "name": "Wholesale",
      "description": "Discounted prices for wholesale customers"
    }
  ]
}

Success responses

200 List of price lists application/json object items[] object[] id string

Unique identifier of the price list

name string

Display name of the price list

description string | null

Optional description of the price list

Error responses

401 Invalid or missing API key application/json 403 Insufficient permissions application/json

← PreviousUpdate a price list →

Next →Get a price list by ID →