Store Locator | GraphQl methods
Queries
- amStoreLocatorAttributesToFilter
description: get location attributes
- searchAmStoreLocations (filter: AmStoreLocationsFilterInput, pageSize: Int, currentPage: Int = 1)
description: search all locations with filter
Mutations
- amastyStoreLocatorAddReview (locationId: Int!, locationRating: Int!, detail: String!)
description: add review to a location
Related Articles
What Amasty extensions support GraphQL?
Amasty has introduced additional GraphQL packages for extensions that are GraphQL compatible. These packages are listed in the 'suggest' section of the composer.json file. As a result, they are not automatically installed with the main module. To ...
Store Pickup with Locator API
1. Amasty\StorePickupWithLocator\Api\GuestLocationPickupValuesInterface - class for managin store pickup for guests: POST /V1/amstorepickup/:cartId/saveSelectedPickupValues, method="saveSelectedPickupValues" - deprecated query, retained for backward ...
Multiple Coupons | GraphQL methods
Kindly note that the GraphQL functionality for Multiple Coupons is available as a part of an active product subscription or support subscription. Query amGetCouponsByCartId description: get coupons by cart id Mutations amApplyCouponsToCart ...
What's the difference between Store Pickup, Store Locator and Store Pickup with Locator?
Our Store Pickup extension adds a new free shipping method on the storefront and allows users to choose store pickup at checkout. You may add multiple points of sales and, on the storefront, the extension will automatically detect the nearest store ...
Extra Fee | GraphQL methods
Queries getListFeeItems description: get a list of created fees getFeeItemsForQuote(cart_id: String!) description: get a list of fees available in the current cart getFeeOptions(fee_id: Int!, store_id: Int!) description: get a list of fee options ...