Skip to main content

Update price list prices

Updates price list prices.

  • Prices on campaign price lists (id: xxxxxx2) can not be updated. Any such entries will be ignored.
  • ID for Ordinary, Sale and Campaign price lists starts from 1000000.
    The ID is calculated by this formula, Market ID * 1000000 + Type of price list (Ordinary=0, Sale=1, Capaign=2)
    Eg:
    Ordinary price list for market with ID 1 has ID = 1000000
    Sale price list for market with ID 1 has ID = 1000001
    Campaign price list for market with ID 1 has ID = 1000002
    Ordinary price list for market with ID 2 has ID = 2000000
Query Parameters
productIdType int32

Possible values: [0, 1, 2, 3]

The type of product id supplied.
0 = Internal. Internal product id set by Geins.
Eg: 10001.
1 = ArticleNumber. Article number set by customer.
Eg: ABC123.
2 = MarketPrefixedInternal. Internal product id set by Geins, prefixed with market.
Eg: SE10001.
3 = MarketPrefixedArticleNumber. Article number set by customer, prefixed with market.
Eg: SEABC123.

pricesIncVat boolean

Set to true if prices includes VAT. Leave blank or set to false if they exclude VAT.

Request Body REQUIRED

List of new price list prices.

object[]
PriceListId int32

The price list id.
Prices on Campaign price lists can not be updated. Any such entries will be ignored.

Price double

The price in the currency of the associated price list.
This value can be either inc or ex VAT, depending on configuration.

ProductId string

The id of the product that this price applies to.
This value can represent different fields, depending on configuration.

Currency string

The 3-letter ISO 4217 currency code for this price.
If ommitted the price will be updated on the default market.

StaggeredCount int32

Staggered count for this price. Defaults to 1.
This field is ignored for prices on default (Ordinary, Sale and Campaign) price lists.

Responses
200

The result of the update.

Schema OPTIONAL
Message string OPTIONAL

Information about the outcome of the request.

Invalid object[] OPTIONAL

Supplied PriceList prices that failed validation.

PriceListId int32 OPTIONAL

The price list id.
Prices on Campaign price lists can not be updated. Any such entries will be ignored.

Price double OPTIONAL

The price in the currency of the associated price list.
This value can be either inc or ex VAT, depending on configuration.

ProductId string OPTIONAL

The id of the product that this price applies to.
This value can represent different fields, depending on configuration.

Currency string OPTIONAL

The 3-letter ISO 4217 currency code for this price.
If ommitted the price will be updated on the default market.

StaggeredCount int32 OPTIONAL

Staggered count for this price. Defaults to 1.
This field is ignored for prices on default (Ordinary, Sale and Campaign) price lists.

NotFound object[] OPTIONAL

Supplied PriceList prices that were technically valid, but couldn't be found.

PriceListId int32 OPTIONAL

The price list id.
Prices on Campaign price lists can not be updated. Any such entries will be ignored.

Price double OPTIONAL

The price in the currency of the associated price list.
This value can be either inc or ex VAT, depending on configuration.

ProductId string OPTIONAL

The id of the product that this price applies to.
This value can represent different fields, depending on configuration.

Currency string OPTIONAL

The 3-letter ISO 4217 currency code for this price.
If ommitted the price will be updated on the default market.

StaggeredCount int32 OPTIONAL

Staggered count for this price. Defaults to 1.
This field is ignored for prices on default (Ordinary, Sale and Campaign) price lists.

UpdateCount int32 OPTIONAL

Number of price updates resulting from the request.

400

Bad request.

Schema OPTIONAL
Message string OPTIONAL

Information about the outcome of the request.

Invalid object[] OPTIONAL

Supplied PriceList prices that failed validation.

PriceListId int32 OPTIONAL

The price list id.
Prices on Campaign price lists can not be updated. Any such entries will be ignored.

Price double OPTIONAL

The price in the currency of the associated price list.
This value can be either inc or ex VAT, depending on configuration.

ProductId string OPTIONAL

The id of the product that this price applies to.
This value can represent different fields, depending on configuration.

Currency string OPTIONAL

The 3-letter ISO 4217 currency code for this price.
If ommitted the price will be updated on the default market.

StaggeredCount int32 OPTIONAL

Staggered count for this price. Defaults to 1.
This field is ignored for prices on default (Ordinary, Sale and Campaign) price lists.

NotFound object[] OPTIONAL

Supplied PriceList prices that were technically valid, but couldn't be found.

PriceListId int32 OPTIONAL

The price list id.
Prices on Campaign price lists can not be updated. Any such entries will be ignored.

Price double OPTIONAL

The price in the currency of the associated price list.
This value can be either inc or ex VAT, depending on configuration.

ProductId string OPTIONAL

The id of the product that this price applies to.
This value can represent different fields, depending on configuration.

Currency string OPTIONAL

The 3-letter ISO 4217 currency code for this price.
If ommitted the price will be updated on the default market.

StaggeredCount int32 OPTIONAL

Staggered count for this price. Defaults to 1.
This field is ignored for prices on default (Ordinary, Sale and Campaign) price lists.

UpdateCount int32 OPTIONAL

Number of price updates resulting from the request.