Number of APIs: 5
PUT {{api-url}}/price/{{tenant}}/priceModels/{{priceModelId}}
Updates a 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.
***
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.
***
GET {{api-url}}/price/{{tenant}}/priceModels/{{priceModelId}}
Retrieves the price model. 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 have any restrictions, and the structure of tiersAVAILABLE for Price Service v2 only
Accept-Language
is set to *
each internationalized field is returned as a map that contains all of translations in a format of key:value
pairs, where the key
is the language code and value
is the translation.Accept-Language
can contain the priority list of languages which should be returned. Always one language is returned as a single string field.Accept-Language
header is empty default language defined in the Configuration service
is taken.
GET {{api-url}}/price/{{tenant}}/priceModels?pageNumber=1&pageSize=16
Retrieves all the price models. There is a possibility to filter by some price model
simple fields. 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 have any restrictions, and the structure of tiersAVAILABLE for Price Service v2 only
Accept-Language
is set to *
each internationalized field is returned as a map that contains all of translations in a format of key:value
pairs, where the key
is the language code and value
is the translation.Accept-Language
can contain the priority list of languages which should be returned. Always one language is returned as a single string field.Accept-Language
header is empty default language defined in the Configuration service
is taken.
DELETE {{api-url}}/price/{{tenant}}/priceModels/{{priceModelId}}
Deletes the price model. As a consequence of the operation all prices related to the given price model will be deleted as well. The operation of prices deletion will be done in asynchronous manner.AVAILABLE for Price Service v2 only
ENDPOINTS