PriceController
Last updated
Last updated
Path /v2/prices
Handles all requests regarding price: creating, updating, deleting.
An example for a price JSON object.
Responses are usually wrapped in a meta object, which contains additional information about the response and may contain a single price or a list of prices.
priceId - the price id of the price
price - the price of the price
currencySymbol - the currency symbol of the price
article_number
price: default price for this article number. default means if a country gets requested, where there is no specific entry this default price will be returned
currency_symbol: default currency symbol for this article number. default means if a country gets requested, where there is no specific entry this default currency symbol will be returned
price_{countryCode}: countryCode can be "at", "de" and so on. Represents a specific price entry for this country
currency_symbol_{countryCode}: countryCode can be "at", "de" and so on. Represents a specific currency symbol for this country
Generates: application/json
Query Parameters
priceIds[]
List of Strings
an array of price ids which you need. A price id is built with your catalogId and needed articleNumber separated by ":". For example "yourCatalogId:1023457" or "yourCatalogId:someStringArticleNumber".
Will query price information about given price ids and will return those informations with articleNumber, price and currencySymbol. Result may be different for request country via your headers.
In order to successfully retrieve prices for a given price identifier following requirements have to been met.
catalog has to be allowed to be ordered, that is only an internal requirement and is not visible if you inspect orderable
of the catalog.
a PriceService
has to be created for this catalog
usedFor
has to be set correctly for all wanted countries
As a caller you have to be in the correct tenant and country to retrieve price information.