One Step Checkout | GraphQL methods
Queries
- getAdditionalFields (cartId: String!)
description: get information about additional fields
- getDefaultIpData
description: get information about default IP address
- getAvailableShippingMethods (cartId: String!)
description: get the information about available shipping methods for the order
- getSelectedShippingMethod (cartId: String!)
description: get information about a specific shipping method
Mutations
- addGiftMessageForOrderItems (input: AddGiftMessageForOrderItemsInput)
description: add gift message to order items
- addGiftMessageForWholeOrder (input: AddGiftMessageForWholeOrderInput)
description: add a gift message to the order
- updateGiftWrapInformation (input: UpdateGiftWrapInformationInput)
description: edit gift wrap information
- updateDeliveryInformation (input: UpdateDeliveryInformationInput)
description: edit delivery information
- saveAdditionalFields (input: SaveAdditionalFieldsInput)
description: save the additional information about the order
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 ...
One Step Checkout API
1. Amasty\Checkout\Api\AdditionalFieldsManagementInterface - class for managing additional fields for logged-in users: POST /V1/amasty_checkout/carts/:cartId/amcheckoutFields, method="save" - save a field for a specific cart by ID; POST ...
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 ...
Multiple Wishlist | GraphQL methods
Query amGetWishlists description: get array of wishlists for the requested page amGetRecentlyUpdatedWishlists description: get recently updated wishlists Mutations amCreateWishlist description: create new wishlist amAddProductsToWishlist description: ...
Improved Layered Navigation | GraphQL methods
The Improved Layered Navigation extension doesn't have its own GraphQL requests. Instead, it extends the default Magento requests by introducing supplementary details. You can get additional information stored by the Improved Layered Navigation ...