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 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 ...