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