|
1
|
/** |
|
2
|
* @schema AdminCreatePriceList |
|
3
|
* type: object |
|
4
|
* description: The price list's details. |
|
5
|
* x-schemaName: AdminCreatePriceList |
|
6
|
* required: |
|
7
|
* - title |
|
8
|
* - description |
|
9
|
* properties: |
|
10
|
* title: |
|
11
|
* type: string |
|
12
|
* title: title |
|
13
|
* description: The price list's title. |
|
14
|
* description: |
|
15
|
* type: string |
|
16
|
* title: description |
|
17
|
* description: The price list's description. |
|
18
|
* starts_at: |
|
19
|
* type: string |
|
20
|
* title: starts_at |
|
21
|
* description: The date and time the price list starts at. |
|
22
|
* format: date-time |
|
23
|
* ends_at: |
|
24
|
* type: string |
|
25
|
* title: ends_at |
|
26
|
* description: The date and time the price list ends at. |
|
27
|
* format: date-time |
|
28
|
* status: |
|
29
|
* type: string |
|
30
|
* description: The price list's status. |
|
31
|
* enum: |
|
32
|
* - active |
|
33
|
* - draft |
|
34
|
* type: |
|
35
|
* type: string |
|
36
|
* description: The price list's type. |
|
37
|
* enum: |
|
38
|
* - sale |
|
39
|
* - override |
|
40
|
* rules: |
|
41
|
* type: object |
|
42
|
* description: The price list's rules. |
|
43
|
* example: |
|
44
|
* product_category_id: pcat_123 |
|
45
|
* prices: |
|
46
|
* type: array |
|
47
|
* description: The price list's prices. |
|
48
|
* items: |
|
49
|
* $ref: "#/components/schemas/AdminCreatePriceListPrice" |
|
50
|
* metadata: |
|
51
|
* type: object |
|
52
|
* description: Key-value pairs of custom data. |
|
53
|
* |
|
54
|
*/ |
|
55
|
|