starbucks.order.submit
View connectorSubmit a previously prepared Starbucks pickup order
POST /v1/operations/starbucks.order.submitNot available · draft. Examples use fictional values and do not execute requests.
Inputs
| Parameter | Example type | Example value |
|---|---|---|
| prepared_order_ref | string | "example-prepared-order" |
| payment_method_ref | string | "example-payment-method" |
| expected_total | object | {"amount_minor":450,"currency":"GBP"} |
Example input
{
"prepared_order_ref": "example-prepared-order",
"payment_method_ref": "example-payment-method",
"expected_total": {
"amount_minor": 450,
"currency": "GBP"
}
}Input schema
{
"$defs": {
"Money": {
"additionalProperties": false,
"properties": {
"amount_minor": {
"type": "integer"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount_minor",
"currency"
],
"title": "Money",
"type": "object"
}
},
"$id": "https://priv-platform.local/connectors/starbucks/order-submit.input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"expected_total": {
"$ref": "#/$defs/Money"
},
"payment_method_ref": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"prepared_order_ref": {
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
"required": [
"prepared_order_ref",
"payment_method_ref",
"expected_total"
],
"title": "Starbucks order submission input",
"type": "object"
}