GET
List price lists
Scope:
inventory:rates.readhttps://api.holded.com/api/v2/price-listsLists all price lists (rates) of the authenticated account.
Request
python
import requests
url = "https://api.holded.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
200List of price listsapplication/jsonobject
items[]object[]
idstring
Unique identifier of the price list
namestring
Display name of the price list
descriptionstring | null
Optional description of the price list
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json