Pricing Hub Prices
Get Prices
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?an={accountName}
Path parameters
accountNamestring required
Name of the VTEX account. Used as part of the URL
environmentstring required
Environment to use. 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
X-VTEX-API-AppKeystring required
The AppKey configured by the merchant
X-VTEX-API-AppTokenstring required
The AppToken configured by the merchant
Request body
Example request
{
"items": [
{
"Index": 0,
"SkuId": "13",
"Quantity": 1,
"BrandId": "2000000",
"SellerId": "1",
"PriceTableIds": [],
"CategoriesIds": [
"1"
]
}
]
}Response
OK