Shopify Orders Function

Modified on Mon, 21 Oct at 12:48 PM

We've developed a dynamic database of your store's orders to minimize unnecessary API calls to Shopify's Order API whenever 

a user inquires, 'Where is my order?' Our system provides an endpoint that retrieves orders associated with a user's email. For 

added security, we've included a unique shop ID to ensure that users can only access orders from your store and not from others 

linked to their email.

To set this up, follow these steps:

  1. Click the three dots on your assistant card and select 'Create' > 'Send Orders'.
  2. Copy the endpoint provided.
  3. In VoiceFlow, navigate to your Assistant, then:
    • Click on 'Content' in the left sidebar.
    • Go to 'Functions' and select 'Retrieve Streamline Order'.
  4. Replace the text on line 17 with the copied endpoint.

Copy the Endpoint URL string.

Navigate to your Assistant in Voiceflow and then click on Functions and then Retrieve Streamline Order.

Replace paste your endpoint in here with your copied endpoint.

Example:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article