Price models
- : Needed to retrieve price models.
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Page number to be retrieved. The number of the first page is 1.
Note: If the pageNumber parameter is passed, size of the pages must be specified in the pageSize parameter.
1Number of items to be retrieved per page.
60List of properties used to sort the results, separated by colons. The order of properties indicates their priority in sorting.
Possible values:
{fieldName}{fieldName}:asc{fieldName}:desc
Note: If you want to sort the results by localized properties, the possible values are:
{fieldName}.{language}{fieldName}.{language}:asc{fieldName}.{language}:desc
If the sorting direction is not specified, the fields are sorted in ascending order.
name,code:descFlag indicating whether prices assigned to the price model are expressed as net or gross.
| Value | Description |
|---|---|
true |
Prices are expressed as gross values. |
false |
Prices are expressed as net values. |
Flag indicating whether prices assigned to the price model include markup.
Note: This is a preview field.
Pricing strategy applicable to the price model. Possible values:
BASICVOLUMETIERED
Price model's name.
Price model's description.
Filter price models by unit code
List of language codes acceptable for the response. You can specify factors that indicate which language should be retrieved if the one with a higher factor was not found in the localized fields.
- If the header is set to a particular language or a list of languages, all localized fields are retrieved as strings.
- If the header is set to
*, all localized fields are retrieved as maps of translations, where the keys are language codes and values are the fields in their respective languages. - If the header is empty, localized fields are retrieved in the default language defined in the Configuration Service.
Flag indicating whether the total count of retrieved items should be returned.
falseThe request was successful. A list of price models is returned.
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
- : Needed to manage price models.
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$List of languages in which localized fields in the request body are provided.
- If the
Content-Languageheader is set to*, the localized fields should be provided as maps of translations, where the keys are language codes and values are the fields in their respective languages. - If the
Content-Languageheader is set to a specific language, the localized fields should be provided as strings. - If the
Content-Languageheader is empty, the endpoint will asume that the localized fields are provided in the default language defined in the Configuration Service.
Note: You can provide the localized fields only in languages defined in the Configuration Service. In case the fields are provided in languages that are not defined in the Configuration Service, the request will be rejected.
A price model can be defined as a repeatable way to sell products in a market with the intention of making a profit. Price models define basic structures for prices.
Custom price model identifier. If not provided, it is automatically generated.
Flag indicating whether prices assigned to the price model will be expressed as net or gross.
| Value | Description |
|---|---|
true |
Prices will be expressed as gross values. |
false |
Prices will be expressed as net values. |
Flag indicating whether prices assigned to the price model include markup.
Note: This is a preview field.
Indicates whether the price model is default one or not.
Price model name. It should be a brief, human-readable name that describes purposes of the model.
- If the
Content-Languageheader is set to*, then the name should be provided as a map of translations, where each key is a language code and the value is the name in its respective language. - If the
Content-Languageheader is set to a specific language, the name should be provided as a string. - If the
Content-Languageheader is empty, the endpoint will asume that the name is provided in the default language defined in the Configuration Service.
Note: You can provide the names only in languages defined in the Configuration Service. In case the name is provided in a language that is not defined in the Configuration Service, the request will be rejected.
Price model description. It can contain details about the price model.
- If the
Content-Languageheader is set to*, then the description should be provided as a map of translations, where each key is a language code and the value is the description in its respective language. - If the
Content-Languageheader is set to a specific language, the description should be provided as a string. - If the
Content-Languageheader is empty, the endpoint will asume that the description is provided in the default language defined in the Configuration Service.
Note: You can provide the descriptions only in languages defined in the Configuration Service. In case the description is provided in a language that is not defined in the Configuration Service, the request will be rejected.
The request was successful. The price model has been created.
Request was syntactically incorrect. Details are provided in the response payload.
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
- : Needed to retrieve price models.
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
Price model's unique identifier, generated when the price model is created.
List of language codes acceptable for the response. You can specify factors that indicate which language should be retrieved if the one with a higher factor was not found in the localized fields.
- If the header is set to a particular language or a list of languages, all localized fields are retrieved as strings.
- If the header is set to
*, all localized fields are retrieved as maps of translations, where the keys are language codes and values are the fields in their respective languages. - If the header is empty, localized fields are retrieved in the default language defined in the Configuration Service.
The request was successful. The price model is returned.
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
The requested resource does not exist.
- : Needed to manage price models.
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
Price model's unique identifier, generated when the price model is created.
List of languages in which localized fields in the request body are provided.
- If the
Content-Languageheader is set to*, the localized fields should be provided as maps of translations, where the keys are language codes and values are the fields in their respective languages. - If the
Content-Languageheader is set to a specific language, the localized fields should be provided as strings. - If the
Content-Languageheader is empty, the endpoint will asume that the localized fields are provided in the default language defined in the Configuration Service.
Note: You can provide the localized fields only in languages defined in the Configuration Service. In case the fields are provided in languages that are not defined in the Configuration Service, the request will be rejected.
A price model can be defined as a repeatable way to sell products in a market with the intention of making a profit. Price models define basic structures for prices.
Custom price model identifier. If not provided, it is automatically generated.
Flag indicating whether prices assigned to the price model will be expressed as net or gross.
| Value | Description |
|---|---|
true |
Prices will be expressed as gross values. |
false |
Prices will be expressed as net values. |
Flag indicating whether prices assigned to the price model include markup.
Note: This is a preview field.
Indicates whether the price model is default one or not.
Price model name. It should be a brief, human-readable name that describes purposes of the model.
- If the
Content-Languageheader is set to*, then the name should be provided as a map of translations, where each key is a language code and the value is the name in its respective language. - If the
Content-Languageheader is set to a specific language, the name should be provided as a string. - If the
Content-Languageheader is empty, the endpoint will asume that the name is provided in the default language defined in the Configuration Service.
Note: You can provide the names only in languages defined in the Configuration Service. In case the name is provided in a language that is not defined in the Configuration Service, the request will be rejected.
Price model description. It can contain details about the price model.
- If the
Content-Languageheader is set to*, then the description should be provided as a map of translations, where each key is a language code and the value is the description in its respective language. - If the
Content-Languageheader is set to a specific language, the description should be provided as a string. - If the
Content-Languageheader is empty, the endpoint will asume that the description is provided in the default language defined in the Configuration Service.
Note: You can provide the descriptions only in languages defined in the Configuration Service. In case the description is provided in a language that is not defined in the Configuration Service, the request will be rejected.
The resource has been created.
The request was successful. The price has been updated.
Request was syntactically incorrect. Details are provided in the response payload.
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
The requested resource does not exist.
- : Needed to manage price models.
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
Price model's unique identifier, generated when the price model is created.
-
If set to
trueand the price model has prices assigned to it, both the price model and the prices will be deleted.Important: To set this parameter to
true, your access token needs to have theprice.pricemodel_manage_adminscope granted. -
If set to
falseor not specified and the price model has prices assigned to it, the endpoint will respond with a400error.
The request was successful. The price model has been deleted.
Request was syntactically incorrect. Details are provided in the response payload.
Given authorization scopes are not sufficient and do not match the scopes required by the endpoint.
No content
Last updated
Was this helpful?

