|
1
|
type: object |
|
2
|
description: The claim's details. |
|
3
|
x-schemaName: AdminClaim |
|
4
|
required: |
|
5
|
- order |
|
6
|
- return |
|
7
|
- id |
|
8
|
- type |
|
9
|
- order_id |
|
10
|
- display_id |
|
11
|
- order_version |
|
12
|
- created_at |
|
13
|
- updated_at |
|
14
|
- canceled_at |
|
15
|
- additional_items |
|
16
|
- claim_items |
|
17
|
properties: |
|
18
|
id: |
|
19
|
type: string |
|
20
|
title: id |
|
21
|
description: The claim's ID. |
|
22
|
order_id: |
|
23
|
type: string |
|
24
|
title: order_id |
|
25
|
description: The ID of the order associated with the claim. |
|
26
|
claim_items: |
|
27
|
type: array |
|
28
|
description: The order items targetted by the claim. |
|
29
|
items: |
|
30
|
$ref: ./BaseClaimItem.yaml |
|
31
|
additional_items: |
|
32
|
type: array |
|
33
|
description: The outbound or new items of the claim. |
|
34
|
items: |
|
35
|
$ref: ./BaseClaimItem.yaml |
|
36
|
return: |
|
37
|
$ref: ./AdminReturn.yaml |
|
38
|
return_id: |
|
39
|
type: string |
|
40
|
title: return_id |
|
41
|
description: The ID of the associated return. |
|
42
|
no_notification: |
|
43
|
type: boolean |
|
44
|
title: no_notification |
|
45
|
description: Whether the customer should be notified about changes in the claim. |
|
46
|
refund_amount: |
|
47
|
type: number |
|
48
|
title: refund_amount |
|
49
|
description: The amount to be refunded. |
|
50
|
display_id: |
|
51
|
type: number |
|
52
|
title: display_id |
|
53
|
description: The claim's display ID. |
|
54
|
shipping_methods: |
|
55
|
type: array |
|
56
|
description: The claim's shipping methods. |
|
57
|
items: |
|
58
|
$ref: ./AdminOrderShippingMethod.yaml |
|
59
|
transactions: |
|
60
|
type: array |
|
61
|
description: The claim's transactions. |
|
62
|
externalDocs: |
|
63
|
url: https://docs.medusajs.com/resources/commerce-modules/order/transactions |
|
64
|
description: Learn more about transactions of orders and associated models. |
|
65
|
items: |
|
66
|
$ref: ./BaseOrderTransaction.yaml |
|
67
|
metadata: |
|
68
|
type: object |
|
69
|
description: The claim's metadata, used to store custom key-value pairs. |
|
70
|
externalDocs: |
|
71
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
72
|
description: Learn how to manage metadata |
|
73
|
created_at: |
|
74
|
type: string |
|
75
|
format: date-time |
|
76
|
title: created_at |
|
77
|
description: The claim's creation date. |
|
78
|
updated_at: |
|
79
|
type: string |
|
80
|
format: date-time |
|
81
|
title: updated_at |
|
82
|
description: The claim's update date. |
|
83
|
order: |
|
84
|
$ref: ./AdminOrder.yaml |
|
85
|
type: |
|
86
|
type: string |
|
87
|
description: The claim's type. |
|
88
|
enum: |
|
89
|
- replace |
|
90
|
- refund |
|
91
|
order_version: |
|
92
|
type: string |
|
93
|
title: order_version |
|
94
|
description: The version of the order when the claim is applied. |
|
95
|
created_by: |
|
96
|
type: string |
|
97
|
title: created_by |
|
98
|
description: The ID of the user that created the claim. |
|
99
|
canceled_at: |
|
100
|
type: string |
|
101
|
title: canceled_at |
|
102
|
description: The date the claim was canceled. |
|
103
|
format: date-time |
|
104
|
deleted_at: |
|
105
|
type: string |
|
106
|
format: date-time |
|
107
|
title: deleted_at |
|
108
|
description: The date the claim was deleted. |