|
1
|
/** |
|
2
|
* @schema AdminCreateOrderCreditLine |
|
3
|
* type: object |
|
4
|
* description: The details of a credit line to add to an order. |
|
5
|
* x-schemaName: AdminCreateOrderCreditLine |
|
6
|
* required: |
|
7
|
* - amount |
|
8
|
* - reference |
|
9
|
* - reference_id |
|
10
|
* properties: |
|
11
|
* amount: |
|
12
|
* type: number |
|
13
|
* title: amount |
|
14
|
* description: The amount of the credit line. |
|
15
|
* example: 100 |
|
16
|
* reference: |
|
17
|
* type: string |
|
18
|
* title: reference |
|
19
|
* description: The name of the table that the credit line is referencing. |
|
20
|
* example: order |
|
21
|
* reference_id: |
|
22
|
* type: string |
|
23
|
* title: reference_id |
|
24
|
* description: The ID of a record in the table that the credit line is referencing. |
|
25
|
* example: order_123 |
|
26
|
* metadata: |
|
27
|
* type: object |
|
28
|
* description: The credit line's metadata, can hold custom key-value pairs. |
|
29
|
* externalDocs: |
|
30
|
* url: https://docs.medusajs.com/api/admin#manage-metadata |
|
31
|
* description: Learn how to manage metadata |
|
32
|
* |
|
33
|
*/ |
|
34
|
|