starbucks.order.prepare
View connectorPrepare a pickup cart and return a time-bounded order preview
POST /v1/operations/starbucks.order.prepareNot available · draft. Examples use fictional values and do not execute requests.
Inputs
| Parameter | Example type | Example value |
|---|---|---|
| store_ref | string | "12198-1" |
| items | object | [{"product_ref":"2333","product_id":"2333","quantity":1}] |
| fulfillment | string | "takeaway" |
Example input
{
"store_ref": "12198-1",
"items": [
{
"product_ref": "2333",
"product_id": "2333",
"quantity": 1
}
],
"fulfillment": "takeaway"
}Input schema
{
"$id": "https://priv-platform.local/connectors/starbucks/order-prepare.input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"fulfillment": {
"enum": [
"takeaway",
"eat_in"
]
},
"items": {
"items": {
"additionalProperties": false,
"properties": {
"customizations": {
"items": {
"additionalProperties": false,
"properties": {
"product_id": {
"pattern": "^[0-9]{1,16}$",
"type": "string"
},
"product_ref": {
"pattern": "^[0-9]{1,16}$",
"type": "string"
},
"quantity": {
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"required": [
"product_ref",
"product_id",
"quantity"
],
"type": "object"
},
"maxItems": 30,
"type": "array"
},
"product_id": {
"pattern": "^[0-9]{1,16}$",
"type": "string"
},
"product_ref": {
"pattern": "^[0-9]{1,16}$",
"type": "string"
},
"quantity": {
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"required": [
"product_ref",
"product_id",
"quantity"
],
"type": "object"
},
"maxItems": 20,
"minItems": 1,
"type": "array"
},
"store_ref": {
"pattern": "^[1-9][0-9]{0,7}-[1-9][0-9]{0,7}$",
"type": "string"
}
},
"required": [
"store_ref",
"items",
"fulfillment"
],
"title": "Starbucks order preparation input",
"type": "object"
}