Raw
1 {
2 "ProductTag": {
3 "filePath": "packages/modules/product/src/models/product-tag.ts",
4 "properties": {
5 "id": "The ID of the product tag.",
6 "value": "The value of the product tag",
7 "metadata": "Holds custom data in key-value pairs.",
8 "products": "The associated products.\n\n@expandable",
9 "external_id": "The external id of the product tag"
10 },
11 "deprecated": {
12 "is_deprecated": false
13 }
14 },
15 "ProductType": {
16 "filePath": "packages/modules/product/src/models/product-type.ts",
17 "properties": {
18 "id": "The ID of the product type.",
19 "value": "The value of the product type",
20 "metadata": "Holds custom data in key-value pairs.",
21 "products": "The associated products.\n\n@expandable",
22 "external_id": "The external id of the product type"
23 },
24 "deprecated": {
25 "is_deprecated": false
26 }
27 },
28 "ProductImage": {
29 "filePath": "packages/modules/product/src/models/product-image.ts",
30 "properties": {
31 "id": "The ID of the product image.",
32 "url": "The URL of the product image",
33 "metadata": "Holds custom data in key-value pairs.",
34 "rank": "The rank of the product image among its sibling images.",
35 "product": "The associated product.\n\n@expandable",
36 "variants": "The associated variants.\n\n@expandable"
37 },
38 "deprecated": {
39 "is_deprecated": false
40 }
41 },
42 "ProductOptionValue": {
43 "filePath": "packages/modules/product/src/models/product-option-value.ts",
44 "properties": {
45 "id": "The ID of the product option value.",
46 "value": "The value of the product option.",
47 "metadata": "Holds custom data in key-value pairs.",
48 "option": "The associated option.\n\n@expandable",
49 "variants": "The associated variants.\n\n@expandable",
50 "rank": "The rank of the product option value\n\n@since 2.16.0",
51 "product_options": "The associated product_options.\n\n@expandable\n\n@since 2.16.0"
52 },
53 "deprecated": {
54 "is_deprecated": false
55 }
56 },
57 "ProductOption": {
58 "filePath": "packages/modules/product/src/models/product-option.ts",
59 "properties": {
60 "id": "The ID of the product option.",
61 "title": "The title of the product option.",
62 "metadata": "Holds custom data in key-value pairs.",
63 "values": "The associated values.\n\n@expandable",
64 "is_exclusive": "Whether the product option is exclusive.\n\n@since 2.16.0",
65 "products": "The associated products.\n\n@expandable\n\n@since 2.16.0"
66 },
67 "deprecated": {
68 "is_deprecated": false
69 }
70 },
71 "ProductVariant": {
72 "filePath": "packages/modules/product/src/models/product-variant.ts",
73 "properties": {
74 "id": "The ID of the product variant.",
75 "title": "The title of the product variant",
76 "sku": "The SKU of the product variant",
77 "barcode": "The barcode of the product variant",
78 "ean": "The EAN of the product variant",
79 "upc": "The UPC of the product variant",
80 "allow_backorder": "Whether customers can purchase this variant even if it's out of stock.",
81 "manage_inventory": "Whether Medusa manages the variant's inventory. If disabled, the variant is always considered in stock.",
82 "hs_code": "The HS code of the product variant",
83 "origin_country": "The origin country of the product variant",
84 "mid_code": "The MID code of the product variant",
85 "material": "The material of the product variant",
86 "weight": "The weight of the product variant",
87 "length": "The length of the product variant",
88 "height": "The height of the product variant",
89 "width": "The width of the product variant",
90 "metadata": "Holds custom data in key-value pairs.",
91 "variant_rank": "The variant's rank among its siblings.",
92 "product": "The associated product.\n\n@expandable",
93 "options": "The associated options.\n\n@expandable",
94 "thumbnail": "The thumbnail of the product variant",
95 "images": "The associated images.\n\n@expandable"
96 },
97 "deprecated": {
98 "is_deprecated": false
99 }
100 },
101 "ProductCategory": {
102 "filePath": "packages/modules/product/src/models/product-category.ts",
103 "properties": {
104 "id": "The ID of the product category.",
105 "name": "The name of the product category",
106 "description": "The description of the product category",
107 "handle": "The unique handle of the product category",
108 "mpath": "The mpath of the product category",
109 "is_active": "Whether the product category is active.",
110 "is_internal": "Whether the product category is internal, meaning it's only available for admin users.",
111 "rank": "The rank of the product category among its siblings.",
112 "metadata": "Holds custom data in key-value pairs.",
113 "parent_category": "The associated parent_category.\n\n@expandable",
114 "category_children": "The associated category_children.\n\n@expandable",
115 "products": "The associated products.\n\n@expandable",
116 "external_id": "The external id of the product category"
117 },
118 "deprecated": {
119 "is_deprecated": false
120 }
121 },
122 "ProductCollection": {
123 "filePath": "packages/modules/product/src/models/product-collection.ts",
124 "properties": {
125 "id": "The ID of the product collection.",
126 "title": "The title of the product collection",
127 "handle": "The unique handle of the product collection",
128 "metadata": "Holds custom data in key-value pairs.",
129 "products": "The associated products.\n\n@expandable",
130 "external_id": "The external id of the product collection"
131 },
132 "deprecated": {
133 "is_deprecated": false
134 }
135 },
136 "Product": {
137 "filePath": "packages/modules/product/src/models/product.ts",
138 "properties": {
139 "id": "The ID of the product.",
140 "title": "The title of the product",
141 "handle": "The unique handle of the product",
142 "subtitle": "The subtitle of the product",
143 "description": "The description of the product",
144 "is_giftcard": "Whether the product is a giftcard.",
145 "status": "The status of the product",
146 "thumbnail": "The thumbnail URL of the product",
147 "weight": "The weight of the product",
148 "length": "The length of the product",
149 "height": "The height of the product",
150 "width": "The width of the product",
151 "origin_country": "The origin country of the product",
152 "hs_code": "The HS code of the product",
153 "mid_code": "The MID code of the product",
154 "material": "The material of the product",
155 "discountable": "Whether the product is discountable.",
156 "external_id": "The external ID of the product, used to store the product's ID in an external system.",
157 "metadata": "Holds custom data in key-value pairs.",
158 "variants": "The associated variants.\n\n@expandable",
159 "type": "The associated type.\n\n@expandable",
160 "tags": "The associated tags.\n\n@expandable",
161 "options": "The associated options.\n\n@expandable",
162 "images": "The associated images.\n\n@expandable",
163 "collection": "The associated collection.\n\n@expandable",
164 "categories": "The associated categories.\n\n@expandable",
165 "product_options": "The associated product_options.\n\n@expandable\n\n@since 2.16.0"
166 },
167 "deprecated": {
168 "is_deprecated": false
169 }
170 },
171 "ProductVariantProductImage": {
172 "filePath": "packages/modules/product/src/models/product-variant-product-image.ts",
173 "properties": {
174 "id": "The ID of the association between product variant and product image.",
175 "variant": "The associated variant.\n\n@expandable",
176 "image": "The associated image.\n\n@expandable"
177 },
178 "since": "2.11.2",
179 "deprecated": {
180 "is_deprecated": false
181 }
182 },
183 "ProductProductOptionValue": {
184 "filePath": "packages/modules/product/src/models/product-product-option-value.ts",
185 "properties": {
186 "id": "The ID of the product product option value.",
187 "product_product_option": "The associated product option.\n\n@expandable",
188 "product_option_value": "The associated product option value.\n\n@expandable"
189 },
190 "since": "2.16.0",
191 "deprecated": {
192 "is_deprecated": false
193 }
194 },
195 "ProductProductOption": {
196 "filePath": "packages/modules/product/src/models/product-product-option.ts",
197 "properties": {
198 "id": "The ID of the product product option.",
199 "product": "The associated product.\n\n@expandable",
200 "product_option": "The associated product option.\n\n@expandable",
201 "values": "The associated values.\n\n@expandable"
202 },
203 "since": "2.16.0",
204 "deprecated": {
205 "is_deprecated": false
206 }
207 }
208 }