File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
guides/v2.3/graphql/reference Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Field | Type | Description
24
24
` title ` | String | The display name for this option
25
25
` required ` | Boolean | Indicates whether the option is required
26
26
` sort_order ` | Int | The order in which the option is displayed
27
+ ` option_id ` | Int | The ID assigned to the option
27
28
28
29
## CustomizableAreaOption object
29
30
@@ -149,3 +150,25 @@ Field | Type | Description
149
150
` sort_order ` | Int | The order in which the option is displayed
150
151
151
152
## Example usage
153
+
154
+ The following query returns information about the customizable options configured for the product with a ` sku ` of ` xyz ` .
155
+
156
+ ``` json
157
+ products(filter: {sku: {eq: "xyz"}}) {
158
+ items {
159
+ id
160
+ name
161
+ sku
162
+ type_id
163
+ ... on CustomizableProductInterface {
164
+ options {
165
+ title
166
+ required
167
+ sort_order
168
+ option_id
169
+ }
170
+ }
171
+ }
172
+ }
173
+ }
174
+ ```
You can’t perform that action at this time.
0 commit comments