Download OpenAPI specification:
Delivery related service API
Get the delivery options using the key of the site and id of cart supplied.
| siteKey required | string The key of the site for delivery options |
| cartId | string The id of the cart |
{- "data": {
- "data": {
- "items": {
- "key": "uk-contacts-standard",
- "serviceType": "STANDARD",
- "price": {
- "fractionDigits": 2,
- "currencyCode": "GBP",
- "centAmount": 199
}, - "businessDays": 10
}
}, - "metrics": {
- "durationMs": 190
}, - "context": {
- "siteKey": "specsavers-gb",
- "build": {
- "env": "dev",
- "releaseId": "911",
- "commitId": "3d13f3c6c4f017d66d2a9c16c566ffb11f05f32c"
}
}
}, - "context": {
- "siteKey": "specsavers-gb",
- "build": {
- "env": "dev",
- "releaseId": "911",
- "commitId": "3d13f3c6c4f017d66d2a9c16c566ffb11f05f32c"
}
}, - "metrics": {
- "durationMs": 0
}
}{- "data": {
- "status": "pass",
- "version": "1.0",
- "releaseId": "1234567890",
- "service": "inventory",
- "details": {
- "time": "2023-11-15T12:19:05.737Z",
- "env": "dev",
- "commitId": "368de0fbdff3a5634895d69f8b17cbdfd5e77bfb"
}
}
}