Recerc

Create or update price list

Creates a new price list or updates an existing one for the current workspace.

POST/api/prices/lists

Creates a new price list or updates an existing one for the current workspace.

Request Body

application/json

Request payload for Create or update price list.

id?|

Existing price list identifier when updating a saved list.

name*string

Price list name shown to users.

Example"Distributor Pricing"
customers?array<>|

Customer identifiers explicitly assigned to the price list.

enabled?|

Whether the price list should be active after save.

description?|

Optional internal description for the price list.

status*string

Lifecycle status to persist for the price list.

Value in"enabled" | "disabled" | "archived"
Example"enabled"
fallbackToPriceListId?|

Fallback price list identifier used when a product is missing a direct row.

isForAll?|

Whether the price list should apply to all customers.

[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json