1 /**
2 * @schema AdminFulfillment
3 * type: object
4 * description: The fulfillment's details.
5 * x-schemaName: AdminFulfillment
6 * required:
7 * - id
8 * - location_id
9 * - provider_id
10 * - shipping_option_id
11 * - provider
12 * - delivery_address
13 * - items
14 * - labels
15 * - packed_at
16 * - shipped_at
17 * - delivered_at
18 * - canceled_at
19 * - data
20 * - metadata
21 * - created_at
22 * - updated_at
23 * - deleted_at
24 * properties:
25 * id:
26 * type: string
27 * title: id
28 * description: The fulfillment's ID.
29 * location_id:
30 * type: string
31 * title: location_id
32 * description: The ID of the location the fulfillment's items are shipped from.
33 * provider_id:
34 * type: string
35 * title: provider_id
36 * description: The ID of the fulfillment provider handling this fulfillment.
37 * shipping_option_id:
38 * type: string
39 * title: shipping_option_id
40 * description: The ID of the shipping option this fulfillment is created for.
41 * provider:
42 * $ref: "#/components/schemas/AdminFulfillmentProvider"
43 * delivery_address:
44 * $ref: "#/components/schemas/AdminFulfillmentAddress"
45 * items:
46 * type: array
47 * description: The fulfillment's items.
48 * items:
49 * $ref: "#/components/schemas/AdminFulfillmentItem"
50 * labels:
51 * type: array
52 * description: The fulfillment's shipment labels.
53 * items:
54 * $ref: "#/components/schemas/AdminFulfillmentLabel"
55 * packed_at:
56 * type: string
57 * title: packed_at
58 * description: The date the fulfillment was packed at.
59 * shipped_at:
60 * type: string
61 * title: shipped_at
62 * description: The date the fulfillment was shipped at.
63 * delivered_at:
64 * type: string
65 * title: delivered_at
66 * description: The date the fulfillment was delivered at.
67 * canceled_at:
68 * type: string
69 * title: canceled_at
70 * description: The date the fulfillment was canceled at.
71 * data:
72 * type: object
73 * description: The fulfillment's data, useful for the third-party provider handling the fulfillment.
74 * externalDocs:
75 * url: https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property
76 * metadata:
77 * type: object
78 * description: The fulfillment's metadata, can hold custom key-value pairs.
79 * externalDocs:
80 * url: https://docs.medusajs.com/api/admin#manage-metadata
81 * description: Learn how to manage metadata
82 * created_at:
83 * type: string
84 * format: date-time
85 * title: created_at
86 * description: The date the fulfillment was created at.
87 * updated_at:
88 * type: string
89 * format: date-time
90 * title: updated_at
91 * description: The date the fulfillment was updated at.
92 * deleted_at:
93 * type: string
94 * format: date-time
95 * title: deleted_at
96 * description: The date the fulfillment was deleted at.
97 *
98 */
99