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