Skip to main content

Create a new price list

Creates a new price list definition.

Request Body REQUIRED

The price list to create.

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

The id of the created price list.

Schema OPTIONAL
Resource object OPTIONAL

A price list definition.

Id int32 OPTIONAL

Price list id.

Name string OPTIONAL

Price list name.

MarketId int32 OPTIONAL

Market id.

MarketPrefix string OPTIONAL

Market prefix. Eg: SE.

Currency string OPTIONAL

Currency abbreviation. Eg: SEK.

Forced boolean OPTIONAL

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

CreatedAt date-time OPTIONAL

When the price list was created.

Identifier string OPTIONAL

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

Active boolean OPTIONAL

Indicates if this price list is active.

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.