Update Checkout
checkout_updateUpdate an existing checkout session. Can modify shipping method, apply promo codes, or update customer details before payment is completed. Requires authentication.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"checkout_id": "<checkout_id>",
"updates": "<updates>"
},
"name": "checkout_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | Updates to apply: shipping method, promo code, or customer details | |
| checkout_id | Yes | Checkout session ID to update | |
| bearer_token | No | Authentication token for the patient session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |