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

In-Store Pickup GraphQl intersection products assignments filter. #7702

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/guides/v2.4/graphql/queries/pickup-locations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}

Expand Down Expand Up @@ -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.
Expand Down