1 type: object
2 description: The promotion's promotions.
3 x-schemaName: StoreCartPromotion
4 required:
5 - id
6 properties:
7 id:
8 type: string
9 title: id
10 description: The promotion's ID.
11 code:
12 type: string
13 title: code
14 description: The promotion's code.
15 is_automatic:
16 type: boolean
17 title: is_automatic
18 description: The promotion's is automatic.
19 application_method:
20 type: object
21 description: The promotion's application method.
22 required:
23 - value
24 - type
25 - currency_code
26 properties:
27 value:
28 type: string
29 title: value
30 description: The application method's value.
31 type:
32 type: string
33 description: The application method's type.
34 enum:
35 - fixed
36 - percentage
37 currency_code:
38 type: string
39 title: currency_code
40 description: The application method's currency code.