starbucks.order.price
View connectorQuote a Starbucks cart for one pickup store
POST /v1/operations/starbucks.order.priceRestricted access · live-quote. 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}] |
| quote_stage | string | "item_preview" |
Example input
{
"store_ref": "12198-1",
"items": [
{
"product_ref": "2333",
"product_id": "2333",
"quantity": 1
}
],
"quote_stage": "item_preview"
}Input schema
{
"$id": "https://priv-platform.local/connectors/starbucks/order-price.input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"delivery_type": {
"const": "ConsumeOutOfStore",
"default": "ConsumeOutOfStore"
},
"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": 0,
"type": "array"
},
"product_id": {
"pattern": "^[0-9]{1,16}$",
"type": "string"
},
"product_ref": {
"pattern": "^[0-9]{1,16}$",
"type": "string"
},
"quantity": {
"const": 1
}
},
"required": [
"product_ref",
"product_id",
"quantity"
],
"type": "object"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
},
"quote_stage": {
"default": "item_preview",
"enum": [
"item_preview",
"basket_review"
]
},
"store_ref": {
"pattern": "^[1-9][0-9]{0,7}-[1-9][0-9]{0,7}$",
"type": "string"
}
},
"required": [
"store_ref",
"items"
],
"title": "Starbucks order price input",
"type": "object"
}