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 payment methods are compatible with One Step Checkout?

        The One Step Checkout module is compatible with some payment methods by default: PayPal Amazon Pay Braintree Klarna Stripe Some payment methods require additional compatibility modules to be installed. To access this functionality, you need to have ...
      • 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); - customer GeoIP location detect; - easy checkout fields management; Stripe Card Element ...
      • 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 ...