configure_checkout
Set one or more checkout options—payment, pickup point, pay-on-receipt, or points—and get the recalculated order. Omitted options stay unchanged.
Instructions
Set checkout options and return the recomputed order — one call can set several. Omit an argument to leave that option alone. Every value comes from a get_checkout() answer, so read that first; passing something Ozon does not offer is refused with the list of what it does. Applied in the order Ozon recalculates them: destination, payment, pay-on-delivery, points. Turning points on can withdraw the pay-on-delivery offer, so check the result rather than assuming.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | No | How many Ozon points to spend; 0 spends none. Offered amounts are in points[]. | |
| payment | No | A payment method: a word ("СБП", "Ozon Карта", "новой картой"), a masked card ("**5898") or a payment_type id. Must be one get_checkout() offers. | |
| split_key | No | Which shipment to retarget, from deliveries[].split_keys. Only needed when the order has more than one destination — otherwise the choice is unambiguous. | |
| pickup_point | No | Where to deliver: the point number ("№1449460"), part of its address ("Данилова") or its address_book_id. Must be one of deliveries[].pickup_points with available=true. | |
| pay_after_receipt | No | Turn «Оплатить после получения» on or off. Only when pay_after_receipt.available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | No | ||
| reason | No | ||
| totals | No | ||
| available | No | ||
| shipments | No | ||
| deliveries | No | ||
| installment | No | ||
| payment_options | No | ||
| pay_after_receipt | No | ||
| place_order_action | No |