|
1
|
type: object |
|
2
|
description: The claim item's details. |
|
3
|
x-schemaName: BaseClaimItem |
|
4
|
required: |
|
5
|
- id |
|
6
|
- claim_id |
|
7
|
- order_id |
|
8
|
- item_id |
|
9
|
- quantity |
|
10
|
- reason |
|
11
|
- raw_quantity |
|
12
|
properties: |
|
13
|
id: |
|
14
|
type: string |
|
15
|
title: id |
|
16
|
description: The claim item's ID. |
|
17
|
claim_id: |
|
18
|
type: string |
|
19
|
title: claim_id |
|
20
|
description: The ID of the claim this item belongs to. |
|
21
|
order_id: |
|
22
|
type: string |
|
23
|
title: order_id |
|
24
|
description: The ID of the order this item belongs to. |
|
25
|
item_id: |
|
26
|
type: string |
|
27
|
title: item_id |
|
28
|
description: The ID of the item in the order. |
|
29
|
quantity: |
|
30
|
type: number |
|
31
|
title: quantity |
|
32
|
description: The quantity claimed. |
|
33
|
reason: |
|
34
|
type: string |
|
35
|
description: The claim's reason. |
|
36
|
enum: |
|
37
|
- missing_item |
|
38
|
- wrong_item |
|
39
|
- production_failure |
|
40
|
- other |
|
41
|
raw_quantity: |
|
42
|
type: object |
|
43
|
description: The quantity claimed. |
|
44
|
properties: |
|
45
|
value: |
|
46
|
oneOf: |
|
47
|
- type: string |
|
48
|
title: value |
|
49
|
description: The raw quantity's value. |
|
50
|
- type: number |
|
51
|
title: value |
|
52
|
description: The raw quantity's value. |
|
53
|
required: |
|
54
|
- value |
|
55
|
metadata: |
|
56
|
type: object |
|
57
|
description: The item's metadata, can hold custom key-value pairs. |
|
58
|
externalDocs: |
|
59
|
url: https://docs.medusajs.com/api/store#manage-metadata |
|
60
|
description: Learn how to manage metadata |
|
61
|
created_at: |
|
62
|
type: string |
|
63
|
format: date-time |
|
64
|
title: created_at |
|
65
|
description: The date the claim was created. |
|
66
|
updated_at: |
|
67
|
type: string |
|
68
|
format: date-time |
|
69
|
title: updated_at |
|
70
|
description: The date the claim was updated. |
|
71
|
item: |
|
72
|
$ref: ./AdminOrderLineItem.yaml |