Functions
find_order_by_number
Introduction
The find_order_by_number
function is used to search for orders based on the order number provided by the customer. It is useful for retrieving order data within chatbot automations, for example, allowing you to display information about a specific order. Please note that the system will only retrieve the order associated with the provided order number.
Note: The
find_order_by_number
function works exclusively through Automations, Campaigns, and Advanced Campaigns.
Example of use
Example of how to use the find_order_by_number
function:
Example Output Code
In the example above, we use the find_order_by_number
function to search for an order based on the number provided by the customer, which is stored in the number
variable, returning the order information.