GET
Get a price list by ID
Scope:
inventory:rates.readhttps://api.holded.com/api/v2/price-lists/{priceListId}Retrieves the details of a single price list (rate) by its unique identifier. The response includes the price list name and optional description.
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.get(url, headers=headers)
print(response.json())Responses
Response
json
{
"id": "507f1f77bcf86cd799439011",
"name": "Wholesale",
"description": "Discounted prices for wholesale customers"
}Success responses
200Price list foundapplication/jsonobject
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/json404Price list not foundapplication/json