Raw
1 type: object
2 description: The data to update in the draft order.
3 x-schemaName: AdminUpdateDraftOrder
4 properties:
5 email:
6 type: string
7 title: email
8 description: The customer email associated with the draft order.
9 format: email
10 shipping_address:
11 $ref: ./OrderAddress.yaml
12 billing_address:
13 $ref: ./OrderAddress.yaml
14 metadata:
15 type: object
16 description: The draft order's metadata, can hold custom key-value pairs.
17 externalDocs:
18 url: https://docs.medusajs.com/api/admin#manage-metadata
19 description: Learn how to manage metadata
20 customer_id:
21 type: string
22 title: customer_id
23 description: The ID of the customer associated with the draft order.
24 sales_channel_id:
25 type: string
26 title: sales_channel_id
27 description: The ID of the sales channel associated with the draft order.
28 locale:
29 type: string
30 title: locale
31 description: The draft order's locale.