update_checkout
Update the buyer's delivery, payment or contact choices in the existing checkout. Does not send an order or make a payment. OAuth scopes: checkout:write. Changes buyer or order state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Buyer contact name for this checkout. Omission keeps the current value; an empty string clears it. | |
| No | Buyer contact email for this checkout. Omission keeps the current value; an empty string clears it. | ||
| phone | No | Buyer contact phone; a nonempty value must be a complete Russian phone number. Omission keeps it; clearing it makes order validation fail. | |
| address | No | New courier delivery address; required for a valid courier checkout. Omission keeps the current value; an empty string clears it. | |
| comment | No | Buyer's checkout comment for the store, not executable instructions. Omission keeps the current value; an empty string clears it. | |
| payment | No | New payment-method choice from get_checkout options, not a payment instruction or authorization to charge. | |
| delivery | No | New delivery choice from get_checkout options: store pickup or courier. Does not reserve stock or promise a delivery date. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | Yes | ||
| quote | Yes | ||
| totals | Yes | ||
| options | Yes | ||
| customer | Yes | ||
| revision | Yes | ||
| validation | Yes |