|
1
|
type: object |
|
2
|
description: The fulfillment's details. |
|
3
|
x-schemaName: AdminOrderFulfillment |
|
4
|
required: |
|
5
|
- id |
|
6
|
- location_id |
|
7
|
- packed_at |
|
8
|
- shipped_at |
|
9
|
- delivered_at |
|
10
|
- canceled_at |
|
11
|
- requires_shipping |
|
12
|
- data |
|
13
|
- provider_id |
|
14
|
- shipping_option_id |
|
15
|
- metadata |
|
16
|
- created_at |
|
17
|
- created_by |
|
18
|
- marked_shipped_by |
|
19
|
- updated_at |
|
20
|
properties: |
|
21
|
id: |
|
22
|
type: string |
|
23
|
title: id |
|
24
|
description: The fulfillment's ID. |
|
25
|
location_id: |
|
26
|
type: string |
|
27
|
title: location_id |
|
28
|
description: The ID of the location the items are fulfilled from. |
|
29
|
packed_at: |
|
30
|
type: string |
|
31
|
title: packed_at |
|
32
|
description: The date the items were packed. |
|
33
|
format: date-time |
|
34
|
shipped_at: |
|
35
|
type: string |
|
36
|
title: shipped_at |
|
37
|
description: The date the items were shipped. |
|
38
|
format: date-time |
|
39
|
delivered_at: |
|
40
|
type: string |
|
41
|
title: delivered_at |
|
42
|
description: The date the items were delivered. |
|
43
|
format: date-time |
|
44
|
canceled_at: |
|
45
|
type: string |
|
46
|
title: canceled_at |
|
47
|
description: The date the items were canceled. |
|
48
|
format: date-time |
|
49
|
data: |
|
50
|
type: object |
|
51
|
description: >- |
|
52
|
Data useful for the fulfillment provider handling it. This is taken from |
|
53
|
the associated shipping option. |
|
54
|
externalDocs: |
|
55
|
url: >- |
|
56
|
https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property |
|
57
|
provider_id: |
|
58
|
type: string |
|
59
|
title: provider_id |
|
60
|
description: The ID of the fulfillment provider used to handle the fulfillment. |
|
61
|
shipping_option_id: |
|
62
|
type: string |
|
63
|
title: shipping_option_id |
|
64
|
description: The ID of the associated shipping option. |
|
65
|
metadata: |
|
66
|
type: object |
|
67
|
description: The fulfillment's metadata, can hold custom key-value pairs. |
|
68
|
externalDocs: |
|
69
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
70
|
description: Learn how to manage metadata |
|
71
|
created_at: |
|
72
|
type: string |
|
73
|
format: date-time |
|
74
|
title: created_at |
|
75
|
description: The date the fulfillment was created. |
|
76
|
updated_at: |
|
77
|
type: string |
|
78
|
format: date-time |
|
79
|
title: updated_at |
|
80
|
description: The date the fulfillment was updated. |
|
81
|
requires_shipping: |
|
82
|
type: boolean |
|
83
|
title: requires_shipping |
|
84
|
description: Whether the fulfillment requires shipping. |
|
85
|
created_by: |
|
86
|
type: string |
|
87
|
title: created_by |
|
88
|
description: The ID of the user that created the fulfillment. |
|
89
|
marked_shipped_by: |
|
90
|
type: string |
|
91
|
title: marked_shipped_by |
|
92
|
description: The ID of the user that marked the fulfillment as shipped. |