pickupLocations
pickupLocations is a Magento 2 GraphQL query in the InventoryInStorePickup module. The pickup locations query searches for locations that match the search request requirements. It returns PickupLocations and is callable anonymously.
Last verified: against Magento 2.4.9.
Returns
Resolver class
Magento\InventoryInStorePickupGraphQl\Model\Resolver\PickupLocations
Cache
identity: Magento\InventoryInStorePickupGraphQl\Model\Resolver\PickupLocations\Identity
Arguments
Perform search by location using radius and search term.
Apply filters by attributes.
Specifies which attribute to sort on, and whether to return the results in ascending or descending order.
The maximum number of pickup locations to return at once. The attribute is optional.
Specifies which page of results to return. The default value is 1.
Information about products which should be delivered.
Example request
Auto-generated from the SDL — paste-ready against your store's /graphql endpoint. Replace the host, store code, and any required values before running.
Headers
Query
query {
pickupLocations {
items {
pickup_location_code
name
email
fax
contact_name
description
latitude
longitude
country_id
region_id
region
city
street
postcode
phone
}
page_info {
page_size
current_page
total_pages
}
total_count
}
}Variables
{}Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.