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