Update a price list level
PATCH/api/price-list-levels/{id}
- pricelist.edit: allows to update resources of price list levels.
Here the dedicated support page.
Request
Path Parameters
Possible values: Value must match regular expression [0-9]+
The ID of the price list level to update
Header Parameters
The company you want to interact with
The API version you want to use
- application/json
Body
The price of the price list level
The cost of the price list level
Responses
- 200
- 400
- 401
- 403
- 404
Returns the price list level updated.
- application/json
- Schema
- Example (from schema)
Schema
Possible values: >= 1
The unique identifier of the resource
The date and time when the resource was created
The date and time when the resource was last updated
Possible values: >= 1
ID of the price list
Possible values: >= 1
ID of the level
The price of the price list level
The price of the price list level
{
"id": 1,
"created_at": "2025-09-18T11:10:23.796Z",
"updated_at": "2025-09-18T11:10:23.796Z",
"price_list_id": 1,
"level_id": 1,
"price": 1,
"cost": 1
}
Validation failed
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Error unique key
Human-readable message describing the error
failures
object[]
List of validation errors
Name of the field causing the error
Human-readable description of the error
{
"key": "invalid_data",
"message": "You provided invalid data. Check 'failures' for details.",
"failures": [
{
"field": "string",
"message": "string"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Error unique key
Human-readable message describing the error
{
"key": "not_found",
"message": "string"
}