Id
Get Product
Get the full product object using a productId, useful for rendering out a PDP. Allows Anonymous.
GET
/v1/products/{id}
AuthorizationBasic <token>
Basic Authorization header using the Bearer scheme.
In: header
Authorization<token>
JWT Authorization header using the Bearer scheme.
In: header
Path Parameters
idinteger
Format
int32
Response Body
curl -X GET "https://loading/v1/products/0"
{
"productId": 0,
"productCode": "string",
"clientProductId": "string",
"productTitle": "string",
"productUrl": "string",
"productType": "string",
"styleCode": "string",
"dateCreated": "2019-08-24T14:15:22Z",
"availableFrom": "2019-08-24T14:15:22Z",
"availableTo": "2019-08-24T14:15:22Z",
"newInDate": "2019-08-24T14:15:22Z",
"retirementSummary": {
"retirementType": "string",
"retirementRedirect": "string",
"markedForRetirementDate": "2019-08-24T14:15:22Z"
},
"buyGrid": {
"show": true,
"selectedStockId": 0,
"variations": [
{
"variationId": 0,
"title": "string",
"values": [
{
"variationValueId": 0,
"title": "string",
"position": 0,
"imageUrl": "string",
"abbreviation": "string"
}
]
}
],
"stockVariations": [
{
"stockId": 0,
"stockCode": "string",
"quantity": 0,
"status": "string",
"message": "string",
"itemPrice": 0.1,
"variationValueIds": [
0
]
}
]
},
"price": {
"priceKey": "string",
"currencyIso": "string",
"itemPrice": 0.1,
"rrp": 0.1,
"fullPrice": 0.1,
"savingAmount": 0.1,
"savingPercentage": 0.1
},
"images": [
{
"imageUrl": "string",
"title": "string",
"position": 0,
"stockId": 0,
"smallImageUrl": "string"
}
],
"sashes": [
{
"pdpBannerMobile": "string",
"pdpBannerDesktop": "string",
"title": "string",
"position": 0
}
],
"associations": {
"title": "string",
"products": [
{
"productId": 0,
"productCode": "string",
"clientProductId": "string",
"title": "string",
"url": "string",
"position": 0,
"imageUrl": "string"
}
]
},
"brand": {
"name": "string",
"image": "string"
},
"review": {
"count": 0,
"score": 0.1
},
"productInfo": {
"shortDescription": "string",
"description": "string",
"alternativeDescription": "string"
},
"extraAttributes": {
"property1": null,
"property2": null
},
"breadCrumbs": [
{
"title": "string",
"url": "string"
}
],
"webPages": [
{
"url": "string",
"title": "string"
}
]
}
{
"message": "string",
"code": 0
}
{
"succeeded": true,
"errors": [
{
"message": "string"
}
]
}
How is this guide?