Create new price model
POST {{api-url}}/price/{{tenant}}/priceModels
Creates a new price model definition. A Price Model can be defined as a repeatable way to sell products in a market with the intention of making a profit.
The price model defines basic structure for prices. Among other things, it allows you to determine whether the prices are gross or net, whether they contain markup, and the structure of tiers.AVAILABLE for Price Service v2 only
Content-Language
is set to *
the request body payload should contain localized fields not as a string, but as a map in format: key:value
, where the key
is the language code and value
is the translation.
***
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Language
|
string | (Required) The Content-Language request HTTP header defines language(s) of the payload. | |
Content-Type
|
string | ||
Accept
|
string | ||
X-Version
|
string |
RESPONSES
status Created
{
"id": "ullamco tempor officia"
} |
ENDPOINTS