1 type: object
2 description: The price list's details.
3 x-schemaName: AdminPriceList
4 required:
5 - id
6 - title
7 - description
8 - rules
9 - starts_at
10 - ends_at
11 - status
12 - type
13 - prices
14 - created_at
15 - updated_at
16 - deleted_at
17 - metadata
18 properties:
19 id:
20 type: string
21 title: id
22 description: The price list's ID.
23 title:
24 type: string
25 title: title
26 description: The price list's title.
27 description:
28 type: string
29 title: description
30 description: The price list's description.
31 rules:
32 type: object
33 description: The price list's rules.
34 starts_at:
35 type: string
36 title: starts_at
37 description: The date the price list starts.
38 ends_at:
39 type: string
40 title: ends_at
41 description: The date the price list ends.
42 status:
43 type: string
44 description: The price list's status.
45 enum:
46 - draft
47 - active
48 type:
49 type: string
50 description: The price list's type.
51 enum:
52 - sale
53 - override
54 prices:
55 type: array
56 description: The price list's prices.
57 items:
58 $ref: ./AdminPriceListPrice.yaml
59 created_at:
60 type: string
61 format: date-time
62 title: created_at
63 description: The date the price list was created.
64 updated_at:
65 type: string
66 format: date-time
67 title: updated_at
68 description: The date the price list was updated.
69 deleted_at:
70 type: string
71 format: date-time
72 title: deleted_at
73 description: The date the price list was deleted.
74 metadata:
75 type: object
76 description: Key-value pairs of custom data.