Get a single Product Price
GET
/api/v2/products/{productId}/prices/{id}.json
Retrieve a single Product Price using its ID.
Scopes
Requires either the products
or products.readonly
OAuth
scope.
Parameters
Accepts the following parameters:
id
required
The ID of the Price is supplied as a path parameter. |
productId
required
The ID of the Product is supplied as a path parameter. |
Response
Returns an object with the following properties:
success
A boolean where a value of true represents a successful request.
|
status
The HTTP status code e.g. 200 for a successful request.
|
data
Contains the Product Price object. |
JSON Example
An example of JSON returned.
{
"success": true,
"status": 200,
"data": {
"id": 48646,
"productId": 3066,
"status": "current",
"type": "buy",
"quantity": 1,
"price": 9.99,
"unit": "each",
"minimumUnits": 1,
"rrp": null,
"standardPrice": 9.99,
"isTaxIncluded": true,
"isLowestInClass": true,
"inClassCount": 1,
"currency": "GBP",
"startOn": "2022-04-19",
"accessRoleId": null,
"geozoneId": null
}
}