Raw
1 {
2 "FulfillmentAddress": {
3 "filePath": "packages/modules/fulfillment/src/models/address.ts",
4 "properties": {
5 "id": "The ID of the fulfillment address.",
6 "company": "The company of the fulfillment address",
7 "first_name": "The first name of the fulfillment address",
8 "last_name": "The last name of the fulfillment address",
9 "address_1": "The first line of the fulfillment address",
10 "address_2": "The second line of the fulfillment address",
11 "city": "The city of the fulfillment address",
12 "country_code": "The country code of the fulfillment address.\n\n@example us",
13 "province": "The province of the fulfillment address",
14 "postal_code": "The postal code of the fulfillment address",
15 "phone": "The phone of the fulfillment address",
16 "metadata": "Holds custom data in key-value pairs."
17 },
18 "deprecated": {
19 "is_deprecated": false
20 }
21 },
22 "FulfillmentItem": {
23 "filePath": "packages/modules/fulfillment/src/models/fulfillment-item.ts",
24 "properties": {
25 "id": "The ID of the fulfillment item.",
26 "title": "The title of the fulfillment item",
27 "sku": "The SKU of the fulfillment item",
28 "barcode": "The barcode of the fulfillment item",
29 "quantity": "The quantity of the fulfillment item",
30 "line_item_id": "The ID the line item being fulfilled.",
31 "inventory_item_id": "The ID of the inventory item being fulfilled.",
32 "fulfillment": "The associated fulfillment.\n\n@expandable"
33 },
34 "deprecated": {
35 "is_deprecated": false
36 }
37 },
38 "FulfillmentLabel": {
39 "filePath": "packages/modules/fulfillment/src/models/fulfillment-label.ts",
40 "properties": {
41 "id": "The ID of the fulfillment label.",
42 "tracking_number": "The tracking number of the fulfillment label",
43 "tracking_url": "The tracking URL of the fulfillment label",
44 "label_url": "The label URL of the fulfillment label",
45 "fulfillment": "The associated fulfillment.\n\n@expandable"
46 },
47 "deprecated": {
48 "is_deprecated": false
49 }
50 },
51 "FulfillmentProvider": {
52 "filePath": "packages/modules/fulfillment/src/models/fulfillment-provider.ts",
53 "properties": {
54 "id": "The ID of the fulfillment provider.",
55 "is_enabled": "Whether the fulfillment provider is enabled."
56 },
57 "deprecated": {
58 "is_deprecated": false
59 }
60 },
61 "FulfillmentSet": {
62 "filePath": "packages/modules/fulfillment/src/models/fulfillment-set.ts",
63 "properties": {
64 "id": "The ID of the fulfillment set.",
65 "name": "The name of the fulfillment set",
66 "type": "The type of the fulfillment set",
67 "service_zones": "The associated service zones.\n\n@expandable",
68 "metadata": "Holds custom data in key-value pairs."
69 },
70 "deprecated": {
71 "is_deprecated": false
72 }
73 },
74 "GeoZone": {
75 "filePath": "packages/modules/fulfillment/src/models/geo-zone.ts",
76 "properties": {
77 "id": "The ID of the geo zone.",
78 "type": "The type of the geo zone",
79 "country_code": "The country code of the geo zone.\n\n@example us",
80 "province_code": "The province code of the geo zone",
81 "city": "The city of the geo zone",
82 "postal_expression": "The postal expression of the geo zone",
83 "service_zone": "The associated service zone.\n\n@expandable",
84 "metadata": "Holds custom data in key-value pairs."
85 },
86 "deprecated": {
87 "is_deprecated": false
88 }
89 },
90 "ServiceZone": {
91 "filePath": "packages/modules/fulfillment/src/models/service-zone.ts",
92 "properties": {
93 "id": "The ID of the service zone.",
94 "name": "The name of the service zone",
95 "fulfillment_set": "The associated fulfillment_set.\n\n@expandable",
96 "geo_zones": "The associated geo_zones.\n\n@expandable",
97 "shipping_options": "The associated shipping options.\n\n@expandable",
98 "metadata": "Holds custom data in key-value pairs."
99 },
100 "deprecated": {
101 "is_deprecated": false
102 }
103 },
104 "ShippingOptionRule": {
105 "filePath": "packages/modules/fulfillment/src/models/shipping-option-rule.ts",
106 "properties": {
107 "id": "The ID of the shipping option rule.",
108 "attribute": "The name of a property or table that the rule applies to.\n\n@example customer_group",
109 "operator": "The operator used in the condition.\n\n@example eq",
110 "value": "The value of the shipping option rule",
111 "shipping_option": "The associated shipping option.\n\n@expandable"
112 },
113 "deprecated": {
114 "is_deprecated": false
115 }
116 },
117 "ShippingOptionType": {
118 "filePath": "packages/modules/fulfillment/src/models/shipping-option-type.ts",
119 "properties": {
120 "id": "The ID of the shipping option type.",
121 "label": "The label of the shipping option type",
122 "description": "The description of the shipping option type",
123 "code": "The code of the shipping option type",
124 "shipping_options": "The associated shipping options.\n\n@expandable"
125 },
126 "deprecated": {
127 "is_deprecated": false
128 }
129 },
130 "ShippingProfile": {
131 "filePath": "packages/modules/fulfillment/src/models/shipping-profile.ts",
132 "properties": {
133 "id": "The ID of the shipping profile.",
134 "name": "The name of the shipping profile",
135 "type": "The type of the shipping profile",
136 "shipping_options": "The associated shipping options.\n\n@expandable",
137 "metadata": "Holds custom data in key-value pairs."
138 },
139 "deprecated": {
140 "is_deprecated": false
141 }
142 },
143 "ShippingOption": {
144 "filePath": "packages/modules/fulfillment/src/models/shipping-option.ts",
145 "properties": {
146 "id": "The ID of the shipping option.",
147 "name": "The name of the shipping option",
148 "price_type": "The price type of the shipping option",
149 "data": "The data of the shipping option useful for the associated fulfillment provider. Learn more in [this documentation](https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property)",
150 "metadata": "Holds custom data in key-value pairs.",
151 "service_zone": "The associated service zone.\n\n@expandable",
152 "shipping_profile": "The associated shipping profile.\n\n@expandable",
153 "provider": "The associated provider.\n\n@expandable",
154 "type": "The associated type.\n\n@expandable",
155 "rules": "The associated rules.\n\n@expandable",
156 "fulfillments": "The associated fulfillments.\n\n@expandable"
157 },
158 "deprecated": {
159 "is_deprecated": false
160 }
161 },
162 "Fulfillment": {
163 "filePath": "packages/modules/fulfillment/src/models/fulfillment.ts",
164 "properties": {
165 "id": "The ID of the fulfillment.",
166 "location_id": "The ID of the location to fulfill items from.",
167 "packed_at": "The date the fulfillment items were packed.",
168 "shipped_at": "The date the fulfillment items were shipped.",
169 "marked_shipped_by": "The ID of the user that marked this fulfillment as shipped.",
170 "created_by": "The ID of the user that created this fulfillment.",
171 "delivered_at": "The date the fulfillment items were delivered.",
172 "canceled_at": "The date the fulfillment was canceled.",
173 "data": "The data of the fulfillment useful for the associated fulfillment provider. Learn more in [this documentation](https://docs.medusajs.com/resources/commerce-modules/fulfillment/item-fulfillment#data-property)",
174 "requires_shipping": "Whether the fulfillment item requires shipping.",
175 "items": "The associated items.\n\n@expandable",
176 "labels": "The associated labels.\n\n@expandable",
177 "provider": "The associated provider.\n\n@expandable",
178 "shipping_option": "The associated shipping option.\n\n@expandable",
179 "delivery_address": "The associated delivery address.\n\n@expandable",
180 "metadata": "Holds custom data in key-value pairs."
181 },
182 "deprecated": {
183 "is_deprecated": false
184 }
185 }
186 }