diff --git a/src/guides/v2.3/graphql/product/customizable-option-interface.md b/src/guides/v2.3/graphql/product/customizable-option-interface.md index 721d0d94555..a6ad1da56e9 100644 --- a/src/guides/v2.3/graphql/product/customizable-option-interface.md +++ b/src/guides/v2.3/graphql/product/customizable-option-interface.md @@ -205,7 +205,9 @@ Attribute | Type | Description The following query returns information about the customizable options configured for the product with a `sku` of `xyz`. -```text +**Request:** + +```graphql { products(filter: {sku: {eq: "xyz"}}) { items { @@ -225,3 +227,30 @@ The following query returns information about the customizable options configure } } ``` + +**Response:** + +```json +{ + "data": { + "products": { + "items": [ + { + "id": 1, + "name": "T-shirt", + "sku": "xyz", + "__typename": "SimpleProduct", + "options": [ + { + "title": "Image", + "required": false, + "sort_order": 1, + "option_id": 1 + } + ] + } + ] + } + } +} +```