Starbucks星巴克 MCP 开放平台

啡快创建订单

工具名称
create_pickup_order
MCP Endpoint
tools/call · create_pickup_order
分类
算价与下单

做什么

用于 MOP 啡快到店自取 场景创建订单。 适用于用户已经完成算价并确认门店、商品、规格、加料和可选优惠券, 准备正式提交订单并获取 order_idpre_payidpay_url 时调用。

调用前置

请求头 x-customer-idx-user-id 二选一必传; temp_order_id 只能来自 calculate_pickup_price 的返回结果。

幂等

相同 temp_order_id 的重复请求会返回首次结果,而不是重复下单

入参

参数类型必填说明
store_idstring门店 ID,从 search_stores 获取。
temp_order_idstring临时订单 ID,来自 calculate_pickup_price;必须原样回传。
coupon_liststring[]优惠券 ID 列表,可选,仅传券 ID 字符串。
used_star_optionsStarOption[]使用星星抵扣,从算价接口的 canUseStar 中获取。

用户语义触发

"帮我下这单"、"确认下单"、"生成支付链接"。