|
1
|
{ |
|
2
|
"PriceListRule": { |
|
3
|
"filePath": "packages/modules/pricing/src/models/price-list-rule.ts", |
|
4
|
"properties": { |
|
5
|
"id": "The ID of the price list rule.", |
|
6
|
"attribute": "The attribute of the price list rule. For example, `region_id`.", |
|
7
|
"value": "The value of the price list rule. For example, `reg_123`.", |
|
8
|
"price_list": "The associated `PriceList`.\n\n@expandable" |
|
9
|
}, |
|
10
|
"deprecated": { |
|
11
|
"is_deprecated": false |
|
12
|
} |
|
13
|
}, |
|
14
|
"PriceList": { |
|
15
|
"filePath": "packages/modules/pricing/src/models/price-list.ts", |
|
16
|
"properties": { |
|
17
|
"id": "The ID of the price list.", |
|
18
|
"title": "The title of the price list.", |
|
19
|
"description": "The description of the price list.", |
|
20
|
"status": "The status of the price list.", |
|
21
|
"type": "The type of the price list.", |
|
22
|
"starts_at": "The date the price list starts.", |
|
23
|
"ends_at": "The date the price list ends.", |
|
24
|
"rules_count": "The total number of rules of the price list.", |
|
25
|
"prices": "The associated `Price` records.\n\n@expandable", |
|
26
|
"price_list_rules": "The associated `PriceListRule` records.\n\n@expandable", |
|
27
|
"metadata": "Holds custom data in key-value pairs." |
|
28
|
}, |
|
29
|
"deprecated": { |
|
30
|
"is_deprecated": false |
|
31
|
} |
|
32
|
}, |
|
33
|
"PriceRule": { |
|
34
|
"filePath": "packages/modules/pricing/src/models/price-rule.ts", |
|
35
|
"properties": { |
|
36
|
"id": "The ID of the price rule.", |
|
37
|
"attribute": "The attribute of the price rule. For example, `region_id`.", |
|
38
|
"value": "The value of the price rule. For example, `reg_123`.", |
|
39
|
"operator": "The operator of the price rule. For example, `eq`.", |
|
40
|
"priority": "The priority of the price rule.", |
|
41
|
"price": "The associated `Price`.\n\n@expandable" |
|
42
|
}, |
|
43
|
"deprecated": { |
|
44
|
"is_deprecated": false |
|
45
|
} |
|
46
|
}, |
|
47
|
"PriceSet": { |
|
48
|
"filePath": "packages/modules/pricing/src/models/price-set.ts", |
|
49
|
"properties": { |
|
50
|
"id": "The ID of the price set.", |
|
51
|
"prices": "The associated `Price` records.\n\n@expandable" |
|
52
|
}, |
|
53
|
"deprecated": { |
|
54
|
"is_deprecated": false |
|
55
|
} |
|
56
|
}, |
|
57
|
"Price": { |
|
58
|
"filePath": "packages/modules/pricing/src/models/price.ts", |
|
59
|
"properties": { |
|
60
|
"id": "The ID of the price.", |
|
61
|
"title": "The title of the price", |
|
62
|
"currency_code": "The currency code of the price. For example, `usd`.", |
|
63
|
"amount": "The amount of the price.", |
|
64
|
"min_quantity": "The minimum quantity that must be available in the cart for the price to be applied.", |
|
65
|
"max_quantity": "The maximum quantity allowed to be available in the cart for the price to be applied.", |
|
66
|
"rules_count": "The total number of rules of the price.", |
|
67
|
"price_set": "The associated `PriceSet`.\n\n@expandable", |
|
68
|
"price_rules": "The associated `PriceRule` records.\n\n@expandable", |
|
69
|
"price_list": "The associated `PriceList`.\n\n@expandable" |
|
70
|
}, |
|
71
|
"deprecated": { |
|
72
|
"is_deprecated": false |
|
73
|
} |
|
74
|
}, |
|
75
|
"PricePreference": { |
|
76
|
"filePath": "packages/modules/pricing/src/models/price-preference.ts", |
|
77
|
"properties": { |
|
78
|
"id": "The ID of the price preference.", |
|
79
|
"attribute": "The attribute of the price preference. For example, `region_id`.", |
|
80
|
"value": "The value of the price preference. For example, `reg_123`.", |
|
81
|
"is_tax_inclusive": "Whether prices matching this preference include taxes." |
|
82
|
}, |
|
83
|
"deprecated": { |
|
84
|
"is_deprecated": false |
|
85
|
} |
|
86
|
} |
|
87
|
} |