Skip to main content

Update a price list

Updates an existing price list definition. Only custom price lists are supported.

Path Parameters
id int32 REQUIRED

The id of the price list to update.

Request Body REQUIRED

The updated price list.

Name string

Price list name.

MarketId int32

Market id.

Forced boolean

When true, prices from this price list are used regardless if the ordinary price is lower.

AssignedCustomerGroups int32[]

Should contain a list of customer group ids that this price list is assigned to.

Identifier string

A custom identifier for this price list that can be used instead of the id in some situations.

Active boolean

Indicates if this price list is active.

Responses
200

Ok.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.

400

Invalid price list.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.

404

Price list not found.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.