Cart
Get Quick Order Settings The Get Quick Order Settings endpoint retrieves the configuration settings for a merchant's quick order feature, including the title, sub-title, thanks message, order button text, email requirement, agreement requirement, allowed countries, custom styling options, confirmation button text, and the agreement text. These settings determine the behavior and appearance of the quick order feature on the merchant's store. Response# cart.getQuickOrder.success
Data is available when the success is true
Short descriptive text for the quick order setting page
Additional information or instructions for the quick order setting page
Message displayed after a successful quick order submission
Text displayed on the button to submit a quick order
Flag indicating whether an email is required for quick order submission.
Flag indicating whether an agreement is required for quick order submission.
allowed_countries
array [string]
required List of countries where quick orders are allowed.
Custom styling options for the quick order setting page.
Text displayed on the button to confirm the quick order submission.
Text of the agreement required for quick order submission.
Usage# To perform the action of getting the setting of a quick order, the developer may call the getQuickOrderSettings()
as shown below. Events# This endpoint may trigger two events, the onQuickOrderSettingFetched and onQuickOrderSettingFailed events. onQuickOrderSettingFetched# This event is triggered when getting the setting of a quick order is done without having any errors coming back from the backend. onQuickOrderSettingFailed# This event is triggered when getting the setting of a quick order is not completed and an error has occurred. Modified at 2024-02-18 08:59:59