Server: https://[app key here]-[site_ID here]-apps.worldsecuresystems.com. Take a look at the Authorize your API calls document for more info on how this URL is formed.

Note: When building apps always use relative request URLs. Do not use the "full" URL above because you might have problems running your app on a different site as the site_ID parameter will be different.

Path: /webresources/api/v3/sites/current/products/[product_ID]/prices

Alternatively, use siteID instead of 'current'

Authorization header: This should contain the authorization token. Here is how to obtain the token.

Response

An array of the first 10 prices; each object has the following properties:

productId - product's ID (numeric)

siteId - current siteID (numeric)

countryCode - country code the priduct applies for (string)

taxCodeId - tax code ID associated (numeric)

wTaxCodeId - wholesaler tax code(numeric)

retailPrice - retail price (numeric)

salePrice - sale price (numeric)

wholesalerPrice - wholesaler price (numeric)

salePrice2 - sale price2 (numeric)

salePrice3 - sale price3 (numeric)

quantity2 - quantity threshold 2 (numeric)

quantity3 - quantity threshold 3(numeric)

wSalePrice - wholesaler sale price (numeric)

wSalePrice2 - wholesaler sale price 2 (numeric)

wSalePrice3 - wholesaler sale price 3 (numeric)

wQuantity2 - wholesaler quantity threshold 2 (numeric)

wQuantity3 - wholesaler quantity threshold 3 (numeric)

You can output additional fields to those listed above as default, see the API v3 Discovery APP for additional details.