diff --git a/src/guides/v2.4/graphql/queries/pickup-locations.md b/src/guides/v2.4/graphql/queries/pickup-locations.md index eaeece9096e..d27d55107e0 100644 --- a/src/guides/v2.4/graphql/queries/pickup-locations.md +++ b/src/guides/v2.4/graphql/queries/pickup-locations.md @@ -43,7 +43,12 @@ Because `pageSize` is set to 1 and distance by `distance` is applied, result wil } pageSize: 1 currentPage: 1 - sort: {distance: ASC} + sort: {distance: ASC}, + productsInfo: [ + { + sku: "SKU-1" + } + ] ) { items { pickup_location_code @@ -117,6 +122,7 @@ Attribute | Data type | Description `sort` | [PickupLocationSortInput](#PickupLocationSortInput) | Specifies which attribute to sort on, and whether to return the results in ascending or descending order. `pageSize` | Int | The maximum number of pickup locations to return at once. The attribute is optional. The default value is 20. `currentPage` | Int | Specifies which page of results to return. The default value is 1. +`productsInfo` |[[ProductInfoInput]](#ProductInfoInput)| Contains an array of SKUs to filter on. ### AreaInput object {#AreaInput} @@ -165,6 +171,14 @@ Attribute | Data type | Description `region_id` | SortEnum | ID of the region `street` | SortEnum | Street of the pickup location +### ProductInfoInput object {#ProductInfoInput} + +`ProductInfoInput` contains a list of SKUs. If this object is provided in the query, then the response contains locations where all the products are available for in-store pickup. If even one product in the list cannot be used as an in-store pickup location, that location will not be included in the response. + +Attribute | Data type | Description +--- | --- | --- +`sku` | String! | Product SKU + ### PickupLocations object `PickupLocations` is the top-level object returned in a pickup locations search.