Skip to content
FlexiPedia logo

Shopify Native Actions - Customers

Unlock the power of customer insights with Flexito OmniAI's comprehensive suite of customer-related actions. Whether you need to search for customer details, retrieve specific customer information, access order histories, or view abandoned checkouts, Flexito OmniAI streamlines th

Flexito OmniAI
Beginnerv4
Read in:

Listen to an audio overview

A short, AI-generated podcast-style summary of this article.

Unlock the power of customer insights with Flexito OmniAI's comprehensive suite of customer-related actions. Whether you need to search for customer details, retrieve specific customer information, access order histories, or view abandoned checkouts, Flexito OmniAI streamlines these processes, enhancing your ability to manage customer relationships effectively.

In this section, we explore actions related to "Customer" management. Flexito OmniAI offers the following customer-related actions:

  • Search for Customers

  • Retrieve customer details

  • Access customer orders

  • View customer abandoned checkouts

Let's examine each of these actions in detail.

  • Input (#ShopifyNativeActions-Customers-Input.1)

  • Response Payload (#ShopifyNativeActions-Customers-ResponsePayload.1)

  • Input (#ShopifyNativeActions-Customers-Input.2)

  • Response Payload (#ShopifyNativeActions-Customers-ResponsePayload.2)

  • Input (#ShopifyNativeActions-Customers-Input.3)

  • Response Payload (#ShopifyNativeActions-Customers-ResponsePayload.3)

Search for Customers

Use this action to find customer details by using various query parameters such as customer ID, email, or phone number.

Input

Response Payload { "customers": [ { "id": , "email": null, "first_name": null, "last_name": "Siddiqui", "orders_count": 18, "last_order_id": , "phone": "" }, { "id": , "email": "", "first_name": "Matthew", "last_name": "Miao", "orders_count": 14, "last_order_id": , "phone": null }, { "id": , "email": "", "first_name": "Test", "last_name": "test", "orders_count": 1, "last_order_id": , "phone": null } ] }

Get Customer Info

Use this action to retrieve information about a specific customer using their customer ID.

Input

Response Payload { "customer": { "id": , "email": "", "first_name": "Test", "last_name": "test", "orders_count": 1, "last_order_id": , "phone": null } }

Get Customer Orders

This action allows you to retrieve orders and their details for a specific customer using their customer ID and other query parameters.

Input

Response Payload { "orders": [ { "id": , "cancelled_at": null, "closed_at": null, "confirmed": true, "contact_email": "", "created_at": "T18:03:31-04:00", "currency": "AUD", "email": "", "financial_status": "pending", "fulfillment_status": null, "name": "#1036", "number": 36, "order_number": 1036, "order_status_url": "Thank you Test! - CONNECTDOTS DEMO STORE - Checkout", "phone": null, "processed_at": "T18:03:30-04:00", "reference": "019761d686838bd5f9056c44b791e4ac", "subtotal_price": "24.87", "tax_lines": [...], // 0 items "total_discounts": "0.00", "total_line_items_price": "24.87", "total_price": "44.87", "updated_at": "T18:03:32-04:00" } ] }

Get Customer Abandoned Checkouts

This action retrieves the abandoned checkouts of a specific customer using their customer ID.

Input

Response Payload

{
"checkouts": [
{
"id": ,
"token": "d93ef10844c62eba29f54d05",
"cart_token": "49cf0d5aebe5e3ff",
"email": "",
"gateway": "bogus",
"buyer_accepts_marketing": false,
"created_at": "T18:52:57-04:00",
"updated_at": "T08:21:33-04:00",
"landing_site": "/",
"note": null,
"note_attributes": [...], // 0 items
"referring_site": "",
"shipping_lines": [...], // 1 items
"taxes_included": false,
"total_weight": 0,
"currency": "AUD",
"completed_at": "T08:21:30-04:00",
"closed_at": null,
"user_id": null,
"location_id": null,
"source_identifier": null,
"source_url": null,
"device_id": null,
"phone": null,
"customer_locale": "en-AU",
"line_items": [...], // 3 items
"name": "#",
"source": null,
"abandoned_checkout_url": " ",
"discount_codes": [...], // 0 items
"tax_lines": [...], // 0 items
"source_name": "web",
"presentment_currency": "AUD",
"buyer_accepts_sms_marketing": false,
"sms_marketing_phone": null,
"total_discounts": "0.00",
"total_line_items_price": "180.45",
"total_price": "190.45",
"total_tax": "0.00",
"subtotal_price": "180.45",
"total_duties": null,
"billing_address": {...}, // 15 keys
"shipping_address": {...}, // 15 keys
"customer": {...} // 25 keys
}
]
}