With emma's Square integration, you can manage merchant information, locations, customers, orders, payments, and catalog items. Automate your Square business workflows.
Features
Square_Operator supports the following 11 tools:
Category
Tools
Merchant Info
1
Tool Name
Description
square_get_merchant
Get authenticated merchant information
Location Management
1
Tool Name
Description
square_list_locations
List locations
Customer Management
5
Tool Name
Description
square_list_customers
List customers
square_get_customer
Get customer details by ID
square_search_customers
Search customers (name, email, phone)
square_create_customer
Create a new customer
square_update_customer
Update an existing customer
Order Management
1
Tool Name
Description
square_list_orders
List orders for a location
Payment Management
1
Tool Name
Description
square_list_payments
List payments
Catalog Management
1
Tool Name
Description
square_list_catalog_items
List catalog items
Delete Operations
1
Tool Name
Description
square_delete_customer
Delete a customer (irreversible)
Main Parameters
Parameter
Description
customer_id
Customer ID
location_id
Location ID
given_name
Given name
family_name
Family name
email
Email address
phone
Phone number (E.164 format recommended)
query
Search keyword
Prerequisites
• emma account
• Square account
• OAuth 2.0 connection setup
Setup
1. Install the package
npm install @duzzle/square-integration
2. Initialize
import { DuzzleSquare } from '@duzzle/square-integration';
const square = new DuzzleSquare({
apiKey: process.env.DUZZLE_API_KEY
});
// OAuth connection is configured via Integrations page