Get Fixed Prices

Fixed Prices are a sub resource of Prices. This method get an array of Fixed Prices for an SKU in a Trade Policy with Minimum Quantities

Fixed Prices are a sub resource of Prices. This method gets an array of Fixed Prices for an SKU in a Trade Policy with Minimum Quantities.

The default value for a Minimum Quantity is 1. This means a Fixed Price will be valid for a SKU in a Trade Policy for orders containing the specified number of Minimum Quantity or above, unless a higher Minimum Quantity is specified.

Fixed prices may, optionally, be scheduled. If so, these objects will contain a property dateRange with from and to, indicating the starting and ending time of the scheduled fixed price in the RFC3339 timestamp format (YYYY-MM-DDT23:59:60Z).
Note that the 'Z', at the end, represents the UTC time (GMT+00:00).
If it was in GMT-03:00, for example, it would be (YYYY-MM-DDT23:59:60-03:00)

AttributeTypeDescription
itemIdstringSKU ID

For example, in case you need get fixed price from SKU ID 9997 .

You will have to replace the variables itemId for 9997:

https://api.vtex.com/teststore/pricing/prices/9997/fixed

Response object has the following properties:

AttributeTypeDescription
tradePolicyIdstringTrade Policy Id
valueintegerTrade Policy Fixed Price Value
listPriceintegerTrade Policy List Price Value
minQuantityintegerTrade Policy Fixed Price Minimum Item Quantity
dateRangeobjectTrade Policy Fixed Price Validity Period Object
fromstringValidity start Date
tostringValidity end Date

Authentication

This is a private API and need credentials with viewer access.

Learn more about Creating appKeys and appTokens to authenticate integrations

Language
Authentication
URL
Click Try It! to start a request and see the response here!