beehexa integrationsidebar
beehexa logo

We Build HexaSync Integration Platform for Connecting ERP, POS, CRM, Accounting, and eCommerce Applications to Automate Business Processes

Beehexa Devdocs

Shopify API 2024: Retrieve a list of abandoned checkouts

Today I will show you how to Retrieve a list of abandoned checkouts with Shopify API using postman. 

For all kinds of businesses selling on the internet, one of the biggest problems that make them lose a lot of customers is not retrieving a list of abandoned checkouts. Because this is data so important for all businesses to implement remarketing. 

Step 1: Generate API credentials from the Shopify admin

     

      • Go to Apps – Manage private apps

    Generate API credentials from the Shopify admin

       

        • Click Create a new private app

        • In the App details section, enter a name for your app and an emergency developer email.

        • In the Admin API section, select the areas of your store that you want the app to access

      Generate API credentials from the Shopify admin

         

          • Click Save

        The Admin API section displays the app’s API key and password when you save the app’s details. 

        Shopify Connector and Profile arrow FreshBooks
        Shopify FreshBooks Integration
        Shopify Connector and Profile arrow Sage Accounting
        Shopify Sage Integration
        Shopify Connector and Profile arrow
        Shopify Quick-book Integration
        Shopify Connector and Profile arrow Xero
        Shopify Xero Integration

        Step 2: Retrieve A List Of Abandoned Checkouts With Postman

        Log in to your Postman and create a new workspace

        Create a new request with this URL:

        https://{username}:{password}@{shop}.myshopify.com/admin/api/{api-version}/{resource}.json

           

            1. {username} – The API key that you generated.

            1. {password} – The API password that you generated.

            1. {shop} – The name of your development store.

            1. {api-version} – The supported API version that you want to use.

            1. {resource} – A resource endpoint from the REST Admin API.

          Or you can copy this example in the Shopify Admin, remember to change {resource} to {checkouts}:

          https://33a72f01e02987636e1c1a9a4e95c840:[email protected]/admin/api/2021-10/checkouts.json

          Example URL

             

              • Paste the URL above and click Send

            Retrieve a list of abandoned checkouts

            Response

            The API will return a list of abandoned checkouts. Includes all information about the customer, product, and many related elements of the buying process.

            Response of get call

            Explain the parameters in the response:

               

                1. {Created_at_max} – Show checkouts created before the specified date.

                1. {created_at_min} – Show checkouts created after the specified date.

                1. {updated_at_max} – Show checkouts last updated before the specified date. 

                1. {updated_at_min} – Show checkouts last updated after the specified date. 

              I have shown you all steps to retrieve a list of abandoned checkouts with Shopify API using Postman. If you have any questions, please comment below or refer to our Devdocs.

              If you still do not understand the tutorial’s content, you can watch the video below for a more overview.

              https://youtu.be/BDgSr0eqvek
              Shopify API: Retrieve a list of abandoned checkouts

              Hopefully you can do it!

              Table of Contents

              Ready to integrate and automate at scale ?

              Learn how HexaSync lets you build enterprise-grade integrations and automations without having to code.

              Receive Exclusive Productivity Tips Directly in Your Inbox

              We’ll email you 1-3 times per week—and never share your information.

              Get started for free

              You can’t add more hours to the day. Beehexa is the next best thing.