The ProductPrices resource allows the product prices to be listed and viewed. An individual product price can be viewed by appending its identifier (a GUID formatted as XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX) to the URI. Here are some example URIs:
/ProductPrices - returns a list of all product prices.
/ProductPrices/E6E8163F-6911-40e9-B740-90E5A0A3A996 - Returns details of a particular product price.
/ProductPrices/Page/1 - Returns the first page of 200 product prices.
/ProductPrices/1 - Returns the first page of 200 product prices.
/ProductPrices - Returns the first 200 product prices because page number 1 is the default.
/ProductPrices/3?pageSize=100 - Returns the third page of 100 product prices; ie. the 201st to 300th product prices.
The full range of URIs and HTTP verbs supported are:
Operation
HTTP Action
List all product prices.
GET /ProductPrices
List the product price for a particular GUID.
GET /ProductPrices/{GUID}
List of paginated product prices.
GET /ProductPrices/Page/{pageNumber}
GET ProductPrices
These filters can be used with the GET ProductPrices endpoint:
Filter
Description
customerCode
Returns product prices matching the specified customer code.
productCode
Returns product prices matching the specified product code.
productGroupPrices
Returns ONLY product group prices for the specified product group. The product code and product description will not be displayed.
asAtDate
Returns product prices for a specific date.
modifiedSince
Returns product prices modified since the specified date.
Available fields for ProductPrices
Property
Type
Length
Notes
Product
Product
Product Group
Product Group
Customer
Customer
Price Type
String
Discount Value
Decimal
Minimum Quantity
Decimal
Default Sell Price
Decimal
Customer Price
Decimal
Valid From
DateTime
Valid To
DateTime
Comments
String
1024
Available Fields for Product:
Property
Type
Length
Notes
Guid
Guid
Unique identifier. Can only be set when adding a record.
ProductCode
String
100
ProductDescription
String
500
Available Fields for Product Group:
Property
Type
Length
Notes
Guid
Guid
Unique identifier. Can only be set when adding a record.
LastModifiedOn
Nullable DateTime
GroupName
String
500
Available Fields for Customer:
Property
Type
Length
Notes
Guid
Guid
Unique identifier. Can only be set when adding a record.
LastModifiedOn
Nullable DateTime
CustomerCode
String
500
CustomerName
String
500
Examples for Response GET /ProductPrices
show xml example
show json example
Examples for Response GET /ProductPrices?productGroupPrices=Furniture
show xml example
show json example
Use the API Sandbox to see how the object is rendered in JSON or XML.
Note:An Unleashed account is required before you can use the API Sandbox.
Trial accounts are also allowed to connect to the API.
You can register a new account here: Register.