Post Price List
Creates a new PriceList
Calls the Quote agent service SavePriceList. NsApiSlow threshold: 5000 ms.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category" Default = show all fields.
Body
The PriceList to be saved.
A pricelist is basically a collection of products. It can be valid in a time period, and outright deactivated. All prices in the product list is in a specific currency. We have decieded not to separate prices and products, which means that we get a simpler data model, but some redundancy. Carrier object for PriceList. Services for the PriceList Carrier is available from the Quote Agent.
Primary key
The key that uniquely identifies this pricelist in the ERP system
(Reserved for future use) The connection to the ERP system used for this pricelist
Name of this pricelist to use in the user interface.
Description of this pricelist , will be used as tool-tip in the user interface.
The iso currency code, like 'USD' or 'NOK'.
The name to use in the user interface, like perhaps 'US dollar' or '$'
The date (inclusive) the pricelist start to be valid. This can be DateTime.MinValue to signal that it doesn't have a specific start date.
The date (inclusive) the pricelist ends to be valid. This can be DateTime.MaxValue to signal that it doesn't have a specific end date.
Is the list active (as opposed to being worked on, suddenly canceled, etc.
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Response
OK
A pricelist is basically a collection of products. It can be valid in a time period, and outright deactivated. All prices in the product list is in a specific currency. We have decieded not to separate prices and products, which means that we get a simpler data model, but some redundancy. PriceList entity with API _Links added.
Primary key
The key that uniquely identifies this pricelist in the ERP system
(Reserved for future use) The connection to the ERP system used for this pricelist
Name of this pricelist to use in the user interface.
Description of this pricelist , will be used as tool-tip in the user interface.
The iso currency code, like 'USD' or 'NOK'.
The name to use in the user interface, like perhaps 'US dollar' or '$'
The date (inclusive) the pricelist start to be valid. This can be DateTime.MinValue to signal that it doesn't have a specific start date.
The date (inclusive) the pricelist ends to be valid. This can be DateTime.MaxValue to signal that it doesn't have a specific end date.
Is the list active (as opposed to being worked on, suddenly canceled, etc.
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.