| GET | /partner/warranty/equipment | Read CPO Sellout | Read CPO Sellout API |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| brand | query | string | Yes | Brand Trigram, e.g. CAR, IWC |
| posCode | query | string | Yes | Richemont POS code, e.g. 102048 |
| cpoSelloutId | query | string | Yes | Cpo sellout Id, e.g a0RbW000000qIyXUAU |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| maison | form | string | No | Maison |
| cpoSelloutId | form | string | No | Cpo sellout id |
| pos | form | string | No | pos |
| selloutDate | form | DateTime? | No | Sellout date |
| selloutStatus | form | string | No | Sellout status |
| soldBy | form | string | No | Sold by |
| readCpoSelloutResponseItems | form | List<ReadEquipmentWarrantyPartnerResponseItem> | No | Cpo sellout items |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| productName | form | string | No | Product name |
| productDescription | form | string | No | Product description |
| reference | form | string | No | Product reference |
| serialNumber | form | string | No | Product serial number |
| quantity | form | float? | No | Quantity |
| status | form | string | No | Status |
| returnReason | form | string | No | Return reason |
| additionalNotes | form | string | No | Additional notes |
| warrantyEndDate | form | DateTime? | No | Warranty end date |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /partner/warranty/equipment HTTP/1.1 Host: dev-api-booster.richemont.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
maison: String,
cpoSelloutId: String,
pos: String,
selloutDate: 0001-01-01,
selloutStatus: String,
soldBy: String,
readCpoSelloutResponseItems:
[
{
productName: String,
productDescription: String,
reference: String,
serialNumber: String,
quantity: 0,
status: String,
returnReason: String,
additionalNotes: String,
warrantyEndDate: 0001-01-01
}
]
}