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

      • 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 ...
      • 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 ...
      • What features are included in each tariff plan of One Step Checkout?

        LITE One Step Checkout extension - all checkout sections on one page; - customizable design (layout, color scheme, address formatting, default values); - delivery options: delivery date calendar, delivery time interval, delivery comment; - Google ...
      • One Step Checkout does not appear on Hyva theme. What should I do?

        To ensure the compatibility of One Step Checkout extension with Hyva, please follow the below steps: Step 1. Install the Hyva compatibility packages, that can be accessed via composer: composer ...
      • Is One Step Checkout compatible with default Magento In-Store Pickup delivery method?

        One Step Checkout Pro and Premium versions are compatible with In-Store Pickup delivery method through a separate compatibility package. To install it via composer, simply use the following command: composer require ...