Routing Options API (v0)
Download OpenAPI specification:Download
This is an internal API for retrieving routing options for a given cart.
Generate Routing Options
Generate Routing Options given the following parameters
Authorizations:
newStoreAccessToken
Request Body schema: application/json
required | object |
required | Array of objects non-empty |
object or object |
Responses
Request samples
- Payload
Content type
application/json
{- "delivery_destination": {
- "country_code": "string",
- "zip_code": ""
}, - "line_items": [
- {
- "product_id": "string",
- "line_item_id": "string",
- "addon_parent_item_id": "string",
- "is_preorder": false
}
], - "routing_strategy": {
- "strategy": "default"
}
}
Response samples
- 200
- 400
- 500
Content type
application/json
{- "status": "ok",
- "routing_options": [
- [
- {
- "service_level_identifier": "string",
- "fulfillment_node_id": "string",
- "line_items": [
- {
- "product_id": "string",
- "line_item_id": "string"
}
], - "type": "regular"
}
]
], - "unavailable_products": [
- "string"
]
}