|
1
|
/** |
|
2
|
* @schema OrderChangeAction |
|
3
|
* type: object |
|
4
|
* description: The order change action's details. |
|
5
|
* x-schemaName: OrderChangeAction |
|
6
|
* required: |
|
7
|
* - id |
|
8
|
* - order_change_id |
|
9
|
* - order_change |
|
10
|
* - order_id |
|
11
|
* - return_id |
|
12
|
* - claim_id |
|
13
|
* - exchange_id |
|
14
|
* - order |
|
15
|
* - reference |
|
16
|
* - reference_id |
|
17
|
* - action |
|
18
|
* - details |
|
19
|
* - internal_note |
|
20
|
* - ordering |
|
21
|
* - created_at |
|
22
|
* - updated_at |
|
23
|
* properties: |
|
24
|
* id: |
|
25
|
* type: string |
|
26
|
* title: id |
|
27
|
* description: The action's ID. |
|
28
|
* order_change_id: |
|
29
|
* type: string |
|
30
|
* title: order_change_id |
|
31
|
* description: The ID of the order change that the action belongs to. |
|
32
|
* order_change: |
|
33
|
* $ref: "#/components/schemas/OrderChange" |
|
34
|
* order_id: |
|
35
|
* type: string |
|
36
|
* title: order_id |
|
37
|
* description: The ID of the order the associated change is for. |
|
38
|
* return_id: |
|
39
|
* type: string |
|
40
|
* title: return_id |
|
41
|
* description: The ID of the associated return. |
|
42
|
* claim_id: |
|
43
|
* type: string |
|
44
|
* title: claim_id |
|
45
|
* description: The ID of the associated claim. |
|
46
|
* exchange_id: |
|
47
|
* type: string |
|
48
|
* title: exchange_id |
|
49
|
* description: The ID of the associated exchange. |
|
50
|
* order: |
|
51
|
* $ref: "#/components/schemas/Order" |
|
52
|
* reference: |
|
53
|
* type: string |
|
54
|
* title: reference |
|
55
|
* description: The name of the table this action applies on. |
|
56
|
* enum: |
|
57
|
* - claim |
|
58
|
* - exchange |
|
59
|
* - return |
|
60
|
* - order_shipping_method |
|
61
|
* reference_id: |
|
62
|
* type: string |
|
63
|
* title: reference_id |
|
64
|
* description: The ID of the record in the referenced table. |
|
65
|
* action: |
|
66
|
* type: string |
|
67
|
* description: The applied action. |
|
68
|
* enum: |
|
69
|
* - CANCEL_RETURN_ITEM |
|
70
|
* - FULFILL_ITEM |
|
71
|
* - DELIVER_ITEM |
|
72
|
* - CANCEL_ITEM_FULFILLMENT |
|
73
|
* - ITEM_ADD |
|
74
|
* - ITEM_REMOVE |
|
75
|
* - ITEM_UPDATE |
|
76
|
* - RECEIVE_DAMAGED_RETURN_ITEM |
|
77
|
* - RECEIVE_RETURN_ITEM |
|
78
|
* - RETURN_ITEM |
|
79
|
* - SHIPPING_ADD |
|
80
|
* - SHIPPING_REMOVE |
|
81
|
* - SHIP_ITEM |
|
82
|
* - WRITE_OFF_ITEM |
|
83
|
* - REINSTATE_ITEM |
|
84
|
* details: |
|
85
|
* type: object |
|
86
|
* description: The action's details. |
|
87
|
* example: |
|
88
|
* reference_id: 123 |
|
89
|
* quantity: 1 |
|
90
|
* internal_note: |
|
91
|
* type: string |
|
92
|
* title: internal_note |
|
93
|
* description: A note that's viewed only by admin users. |
|
94
|
* created_at: |
|
95
|
* type: string |
|
96
|
* format: date-time |
|
97
|
* title: created_at |
|
98
|
* description: The date the action was created. |
|
99
|
* updated_at: |
|
100
|
* type: string |
|
101
|
* format: date-time |
|
102
|
* title: updated_at |
|
103
|
* description: The date the action was updated. |
|
104
|
* ordering: |
|
105
|
* type: number |
|
106
|
* title: ordering |
|
107
|
* description: The action's ordering among other actions in the same order change. |
|
108
|
* |
|
109
|
*/ |
|
110
|
|