One Step Checkout | GraphQL methods

One Step Checkout | GraphQL methods

Queries
  1. getAdditionalFields (cartId: String!)
    description: get information about additional fields
  1. getDefaultIpData
    description: get information about default IP address
  1. getAvailableShippingMethods (cartId: String!)
    description: get the information about available shipping methods for the order
  1. getSelectedShippingMethod (cartId: String!)
    description: get information about a specific shipping method

Mutations
  1. addGiftMessageForOrderItems (input: AddGiftMessageForOrderItemsInput)
    description: add gift message to order items
  1. addGiftMessageForWholeOrder (input: AddGiftMessageForWholeOrderInput)
    description: add a gift message to the order
  1. updateGiftWrapInformation (input: UpdateGiftWrapInformationInput)
    description: edit gift wrap information
  1. updateDeliveryInformation (input: UpdateDeliveryInformationInput)
    description: edit delivery information 
  1. 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 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 ...
      • GDPR | GraphQL methods

        Queries amGetGdprConsents (location: String) description: information about GDRP consents amGetGdprAccount description: information about GDPR account settings amGetGdprPolicyText (id: Int) description: get GDPR policy text Mutations ...