Quote
POST
The Quote endpoint lets you retrieve pricing and shipping information for a set of products without creating an order. You can also use it to check whether the selected products can be fulfilled together as a multi-item order. The offeringId used in the request corresponds to the productId shown in your account under Settings > Products.
application/json- body
apiKey*stringAPI key of your account
countryCode*stringISO 2 code of the country where the product will be shipped
state?stringState where the order will be shipped. Optional
currency?stringCurrency in which to show the prices. Default EUR
items*array<>Quoted product items
shippingOption?stringValue in
"STANDARD""EXPEDITED"OK
application/json- response
quoteDetails?quotedItems?array<>quoteSummary?curl -X POST 'https://test.www.peecho.com/rest/v3/quote' \ -H 'Content-Type: application/json' \ -d '{ "apiKey": "f33f0b13c676f65a3363046243e05dca8a58b7ff", "countryCode": "CA", "state": "QC", "currency": "EUR", "items": [ { "offeringId": 228478, "numberOfPages": 28, "quantity": 100 } ]}'Example Response
{ "quoteDetails": { "countryCode": "CA", "state": "QC", "currency": "EUR", "exchangeRate": "1" }, "quotedItems": [ { "offeringId": 228478, "numberOfPages": 28, "quantity": 100, "basePrice": 3.5, "pricePerPage": 0.15, "productPrice": 770, "shippingWholesale": 0.18, "totalQuantityDiscount": 192.5, "vatPercentage": 0, "vat": 0, "totalItemPrice": 577.68 }, { "offeringId": 228478, "numberOfPages": 28, "quantity": 200, "basePrice": 3.5, "pricePerPage": 0.15, "productPrice": 1540, "shippingWholesale": 1.21, "totalQuantityDiscount": 385, "vatPercentage": 0, "vat": 0, "totalItemPrice": 1156.21 }, { "offeringId": 228478, "numberOfPages": 28, "quantity": 200, "basePrice": 3.5, "pricePerPage": 0.15, "productPrice": 1540, "shippingWholesale": 0.36, "totalQuantityDiscount": 385, "vatPercentage": 0, "vat": 0, "totalItemPrice": 1155.36 } ], "quoteSummary": { "numberOfItems": 3, "totalWholesalePrice": 2889.25, "totalShippingPrice": 1.75, "vatSummary": [ { "vatPercentage": 0, "vat": 0 } ], "totalQuantityDiscount": 962.5 }}