Skip to main content
PATCH

Update a price list

Scope:inventory:rates.write
https://api.holded.com/api/v2/price-lists/{priceListId}

Partially updates an existing price list (rate). Fields not present in the request body keep their current values.

Parameters

Path parameters

priceListIdstringrequired

Price List ID (24-char hex ObjectId)

Request body

object
namestring

Display name for the price list

descriptionstring | null

Optional description

Request

python
import requests

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

payload = {
    "name": "string",
    "description": "string"
}
response = requests.patch(url, headers=headers, json=payload)
print(response.json())

Responses

Response

json
{
  "id": "string"
}

Success responses

200Price list updatedapplication/json
object
idstring

Error responses

400Bad requestapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Price list not foundapplication/json
422Validation errorapplication/json