Recerc

Create or update product list

Creates a new product list or updates an existing one in the current workspace.

POST/api/unstable/product-lists

Creates a new product list or updates an existing one in the current workspace.

Request Body

application/json

id?string

Existing product list id when updating.

Example"list_123"
name*string

Human-readable product list name.

Length1 <= length
Example"Fertilizers"
data*
visibility?string

Visibility scope for the product list.

Value in"organisation" | "user"
Example"organisation"
[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json