Draft Orders Update
tiendanube_draft_orders_updateUpdate an existing Tiendanube draft order by ID, changing line items, discounts, shipping, buyer contact details, or payment status through the API.
Instructions
Update a draft order. HTTP: PUT /draft_orders/{id} Required scope: write_draft_orders API version: 2025-03
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft order ID | |
| discount | No | Discount object | |
| products | No | Line items: [{variant_id, quantity}] | |
| shipping | No | Shipping: {cost, shipping_address, shipping_option} | |
| contact_name | No | Buyer first name | |
| contact_email | No | Buyer email | |
| payment_status | No | Payment status | |
| contact_lastname | No | Buyer last name | |
| additional_fields | No | Extra raw API body fields not covered above; merged into the request body |