Create a price list
POST/api/price-lists
- pricelist.edit: allows to create resources of price lists.
Here the dedicated support page.
Request
Header Parameters
The company you want to interact with
The API version you want to use
- application/json
Body
ID of the client to associate with this price list
Possible values: <= 255 characters
The price list name
Possible values: <= 50 characters
The price list description
The date from which the price list is available. This follows the YYYY-MM-DD format
The date until which the price list is available. This follows the YYYY-MM-DD format
Whether this price list is the default for the client
Whether this price list is synced with the company default costs
Responses
- 201
- 400
- 401
- 403
Returns the price list created.
- 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
The price list name
The price list description
The date from which the price list is available. This follows the YYYY-MM-DD format
The date until which the price list is available. This follows the YYYY-MM-DD format
Whether this is the default price list for the client
Whether this is the default price list for the company
Whether to sync costs with company default price list
Possible values: >= 1
ID of the client to associate with this employee
{
"id": 1,
"created_at": "2025-09-18T11:10:23.731Z",
"updated_at": "2025-09-18T11:10:23.731Z",
"name": "string",
"description": "string",
"available_from": "2025-09-18",
"available_to": "2025-09-18",
"is_default_for_client": true,
"is_default_for_company": true,
"uses_default_price_list_costs": true,
"client_id": 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"
}