Pricing Hub Prices
Retrieve prices
⚠️ This API has been deprecated. If you need to associate prices with specific customers, we recommend using the Audience API.
This route retrieves and applies prices for the items that are passed in the request. Pricing Hub will select the pricing method that will be used for each item and will fetch their respective price from the selected pricing method.
post/api/pricing-hub/prices
Query parameters
anstring required
Example:apiexamples
Name of the VTEX account. Used as part of the URL.
Headers
Acceptstring required
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Content-Typestring required
Describes the type of the content being sent.
Request body
Example request
{
"items": [
{
"skuId": "13",
"quantity": 1,
"brandId": "2000000",
"sellerId": "1",
"priceTableIds": [
"1"
],
"categoriesIds": [
"1"
]
}
],
"UtmSource": "facebook",
"UtmMedium": "social",
"UtmCampaign": "summer",
"UtmInternalCampaign": "sale",
"salesChannel": "1",
"email": "customer@email.com"
}Response
OK