You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/models/catalog-item-option-value.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ its item option values.
15
15
|`item_option_id`|`string`| Optional | Unique ID of the associated item option. |
16
16
|`name`|`string`| Optional | Name of this item option value. Searchable. |
17
17
|`description`|`string`| Optional | The option value's human-readable description. |
18
-
|`color`|`string`| Optional | The HTMLcolor for this value in the format #FFRRGGBB or #RRGGBB<br>(e.g., "#ff8d4e85"). Only displayed if parent Item Option's `show_colors`<br>flag is enabled.<br>value. |
18
+
|`color`|`string`| Optional | The HTML-supported hex color for the item option<br>(e.g., "#ff8d4e85"). Only displayed if `show_colors` is enabled on the<br>parent `ItemOption`. When left unset, `color` defaults to white ("#ffffff")<br>when `show_colors`is enabled on the parent `ItemOption`. |
19
19
|`ordinal`|`int`| Optional | Determines where this option value appears in a list of option values. |
20
20
|`item_variation_count`| `long|int` | Optional | The number of [CatalogItemVariation(#type-catalogitemvariation)s that<br>currently make use of this Item Option value. Present only if `retrieve_counts`<br>was specified on the request used to retrieve the parent Item Option of this<br>value.<br><br>Maximum: 100 counts. |
Copy file name to clipboardExpand all lines: doc/models/catalog-pricing-rule.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,13 @@ during the active time period.
15
15
|`time_period_ids`|`List of string`| Optional | Unique ID for the [CatalogTimePeriod](#type-catalogtimeperiod)s when<br>this pricing rule is in effect. If left unset, the pricing rule is always<br>in effect. |
16
16
|`discount_id`|`string`| Optional | Unique ID for the [CatalogDiscount](#type-catalogdiscount) to take off<br>the price of all matched items. |
17
17
|`match_products_id`|`string`| Optional | Unique ID for the [CatalogProductSet](#type-catalogproductset) that will<br>be matched by this rule. A match rule matches within the entire cart. |
18
-
|`apply_products_id`|`string`| Optional |The [CatalogProductSet](#type-catalogproductset) to apply the pricing rule to<br>within the set of matched products specified by `match_products_id`.<br>An apply rule can only match once within the set of matched products.<br>If left unset, the pricing rule will be applied to all products within the<br>set of matched products. |
18
+
|`apply_products_id`|`string`| Optional |[CatalogProductSet](#type-catalogproductset) to apply the pricing to.<br>An apply rule matches within the subset of the cart that fits the match rules (the match set).<br>An apply rule can only match once in the match set.<br>If not supplied, the pricing will be applied to all products in the match set.<br>Other products retain their base price, or a price generated by other rules.<br>This field has been deprecated: new pricing rules should prefer the exclude_products_id<br>field. Exclude sets allow better control over quantity ranges and offer more flexibility<br>for which matched items receive a discount. |
19
19
|`exclude_products_id`|`string`| Optional | Identifies the [CatalogProductSet](#type-catalogproductset) to exclude<br>from this pricing rule.<br>An exclude rule matches within the subset of the cart that fits the match rules (the match set).<br>An exclude rule can only match once in the match set.<br>If not supplied, the pricing will be applied to all products in the match set.<br>Other products retain their base price, or a price generated by other rules. |
20
20
|`valid_from_date`|`string`| Optional | Represents the date the Pricing Rule is valid from. Represented in<br>RFC3339 full-date format (YYYY-MM-DD). |
21
21
|`valid_from_local_time`|`string`| Optional | Represents the local time the pricing rule should be valid from. Time<br>zone is determined by the device running the Point of Sale app.<br><br>Represented in RFC3339 partial-time format (HH:MM:SS). Partial seconds will be truncated. |
22
22
|`valid_until_date`|`string`| Optional | Represents the date the pricing rule will become inactive.<br><br>Represented in RFC3339 full-date format (YYYY-MM-DD). |
23
23
|`valid_until_local_time`|`string`| Optional | Represents the local time at which the pricing rule will become inactive.<br>Time zone is determined by the device running the Point of Sale app.<br><br>Represented in RFC3339 partial-time format<br>(HH:MM:SS). Partial seconds will be truncated. |
24
+
|`exclude_strategy`|[`str (Exclude Strategy)`](/doc/models/exclude-strategy.md)| Optional | Indicates which products matched by a [CatalogPricingRule](#type-catalogpricingrule)<br>will be excluded if the pricing rule uses an exclude set. |
Copy file name to clipboardExpand all lines: doc/models/customer-query.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ for customer profiles.
11
11
12
12
| Name | Type | Tags | Description |
13
13
| --- | --- | --- | --- |
14
-
|`filter`|[`Customer Filter`](/doc/models/customer-filter.md)| Optional | Represents a set of [`CustomerQuery`](#type-customerquery) filters used<br>to limit the set of Customers returned by [`SearchCustomers`](#endpoint-customers-seachcustomers). |
15
-
|`sort`|[`Customer Sort`](/doc/models/customer-sort.md)| Optional | Indicates the field to use for sorting customer profiles. For example,<br>by total money spent with the merchant or the date of their first purchase. |
14
+
|`filter`|[`Customer Filter`](/doc/models/customer-filter.md)| Optional | Represents a set of `CustomerQuery` filters used<br>to limit the set of Customers returned by SearchCustomers. |
15
+
|`sort`|[`Customer Sort`](/doc/models/customer-sort.md)| Optional | Indicates the field to use for sorting customer profiles. |
Indicates which products matched by a [CatalogPricingRule](#type-catalogpricingrule)
4
+
will be excluded if the pricing rule uses an exclude set.
5
+
6
+
### Enumeration
7
+
8
+
`ExcludeStrategy`
9
+
10
+
### Fields
11
+
12
+
| Name | Description |
13
+
| --- | --- |
14
+
|`LEAST_EXPENSIVE`| The least expensive matched products are excluded from the pricing. If<br>the pricing rule is set to exclude one product and multiple products in the<br>match set qualify as least expensive, then one will be excluded at random.<br><br>Excluding the least expensive product gives the best discount value to the buyer. |
15
+
|`MOST_EXPENSIVE`| The most expensive matched product is excluded from the pricing rule.<br>If multiple products have the same price and all qualify as least expensive,<br>one will be excluded at random.<br><br>This guarantees that the most expensive product is purchased at full price. |
0 commit comments