|
1
|
/** |
|
2
|
* @schema AdminProductOption |
|
3
|
* type: object |
|
4
|
* description: The product option's details. |
|
5
|
* x-schemaName: AdminProductOption |
|
6
|
* required: |
|
7
|
* - id |
|
8
|
* - title |
|
9
|
* - is_exclusive |
|
10
|
* properties: |
|
11
|
* id: |
|
12
|
* type: string |
|
13
|
* title: id |
|
14
|
* description: The product option's ID. |
|
15
|
* title: |
|
16
|
* type: string |
|
17
|
* title: title |
|
18
|
* description: The product option's title. |
|
19
|
* values: |
|
20
|
* type: array |
|
21
|
* description: The product option's values. |
|
22
|
* items: |
|
23
|
* $ref: "#/components/schemas/AdminProductOptionValue" |
|
24
|
* metadata: |
|
25
|
* type: object |
|
26
|
* description: The product option's metadata, can hold custom key-value pairs. |
|
27
|
* externalDocs: |
|
28
|
* url: https://docs.medusajs.com/api/admin#manage-metadata |
|
29
|
* description: Learn how to manage metadata |
|
30
|
* created_at: |
|
31
|
* type: string |
|
32
|
* format: date-time |
|
33
|
* title: created_at |
|
34
|
* description: The date the product option was created. |
|
35
|
* updated_at: |
|
36
|
* type: string |
|
37
|
* format: date-time |
|
38
|
* title: updated_at |
|
39
|
* description: The date the product option was updated. |
|
40
|
* deleted_at: |
|
41
|
* type: string |
|
42
|
* format: date-time |
|
43
|
* title: deleted_at |
|
44
|
* description: The date the product option was deleted. |
|
45
|
* products: |
|
46
|
* type: array |
|
47
|
* description: The products that use the option. |
|
48
|
* items: |
|
49
|
* $ref: "#/components/schemas/AdminProduct" |
|
50
|
* is_exclusive: |
|
51
|
* type: boolean |
|
52
|
* title: is_exclusive |
|
53
|
* description: Whether the option is exclusive to a product. |
|
54
|
* |
|
55
|
*/ |
|
56
|
|