|
1
|
type: object |
|
2
|
description: The claim's details. |
|
3
|
x-schemaName: AdminCreateClaim |
|
4
|
required: |
|
5
|
- type |
|
6
|
- order_id |
|
7
|
properties: |
|
8
|
type: |
|
9
|
type: string |
|
10
|
description: The claim's type. |
|
11
|
enum: |
|
12
|
- refund |
|
13
|
- replace |
|
14
|
order_id: |
|
15
|
type: string |
|
16
|
title: order_id |
|
17
|
description: The ID of the order the claim is created for. |
|
18
|
description: |
|
19
|
type: string |
|
20
|
title: description |
|
21
|
description: The claim's description. |
|
22
|
internal_note: |
|
23
|
type: string |
|
24
|
title: internal_note |
|
25
|
description: A note viewed only by admin users. |
|
26
|
reason_id: |
|
27
|
type: string |
|
28
|
title: reason_id |
|
29
|
description: The ID of the associated return reason. |
|
30
|
metadata: |
|
31
|
type: object |
|
32
|
description: The claim's metadata, can hold custom key-value pairs. |
|
33
|
externalDocs: |
|
34
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
35
|
description: Learn how to manage metadata |