Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 11e8a39

Browse files
swnsmakeharper
andauthored
In-Store Pickup GraphQl intersection products assignments filter. (#7702)
* #7701: In-Store Pickup GraphQl intersection products assignments filter. Update devdocs page. * Update src/guides/v2.4/graphql/queries/pickup-locations.md Co-authored-by: Kevin Harper <[email protected]> * Update src/guides/v2.4/graphql/queries/pickup-locations.md Co-authored-by: Kevin Harper <[email protected]> Co-authored-by: Kevin Harper <[email protected]>
1 parent 77628e3 commit 11e8a39

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/guides/v2.4/graphql/queries/pickup-locations.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ Because `pageSize` is set to 1 and distance by `distance` is applied, result wil
4343
}
4444
pageSize: 1
4545
currentPage: 1
46-
sort: {distance: ASC}
46+
sort: {distance: ASC},
47+
productsInfo: [
48+
{
49+
sku: "SKU-1"
50+
}
51+
]
4752
) {
4853
items {
4954
pickup_location_code
@@ -117,6 +122,7 @@ Attribute | Data type | Description
117122
`sort` | [PickupLocationSortInput](#PickupLocationSortInput) | Specifies which attribute to sort on, and whether to return the results in ascending or descending order.
118123
`pageSize` | Int | The maximum number of pickup locations to return at once. The attribute is optional. The default value is 20.
119124
`currentPage` | Int | Specifies which page of results to return. The default value is 1.
125+
`productsInfo` |[[ProductInfoInput]](#ProductInfoInput)| Contains an array of SKUs to filter on.
120126

121127
### AreaInput object {#AreaInput}
122128

@@ -165,6 +171,14 @@ Attribute | Data type | Description
165171
`region_id` | SortEnum | ID of the region
166172
`street` | SortEnum | Street of the pickup location
167173

174+
### ProductInfoInput object {#ProductInfoInput}
175+
176+
`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.
177+
178+
Attribute | Data type | Description
179+
--- | --- | ---
180+
`sku` | String! | Product SKU
181+
168182
### PickupLocations object
169183

170184
`PickupLocations` is the top-level object returned in a pickup locations search.

0 commit comments

Comments
 (0)