Data Overview
Square gives you access to a broad set of business data spanning sales transactions, catalog management, staff operations, and customer relationships. Here's a breakdown of what each entity contains and how you can use it.
Entities overview
Orders
Revenue reporting, order status tracking
Payments
Payment method analysis, transaction reconciliation
Refunds
Refund rate tracking, loss analysis
Customers
Customer segmentation, retention analysis
Items
Product catalog management, pricing review
Categories
Category-level sales grouping
Discounts
Discount usage and impact analysis
Taxes
Tax calculation auditing
Modifier lists
Add-on performance tracking
Inventories
Stock level monitoring by location
Locations
Multi-location performance comparison
Team members
Staff roster management
Team member wages
Payroll cost analysis
Shifts
Labor hours and scheduling analysis
Bank accounts
Financial account audit
Cash drawers
Cash handling reconciliation
Loyalties
Loyalty program engagement
Available fields by entity
Orders
id
Unique order ID
location_id
Location where the order was placed
state
Order status (OPEN, COMPLETED, CANCELED)
total_money
Total order amount including taxes and discounts
total_tax_money
Total tax applied
total_discount_money
Total discounts applied
created_at
Order creation timestamp
updated_at
Last update timestamp
line_items
Individual items within the order
customer_id
Linked customer ID
Payments
id
Unique payment ID
order_id
Associated order ID
amount_money
Payment amount
status
Payment status (COMPLETED, FAILED, CANCELED)
source_type
Payment method (CARD, CASH, WALLET, etc.)
location_id
Location where payment was taken
created_at
Payment timestamp
card_details
Card brand and last 4 digits (for card payments)
Refunds
id
Unique refund ID
payment_id
Original payment ID
amount_money
Refunded amount
status
Refund status
reason
Reason provided for the refund
created_at
Refund timestamp
Customers
id
Unique customer ID
given_name
First name
family_name
Last name
email_address
Email address
phone_number
Phone number
created_at
Profile creation date
updated_at
Last update date
note
Internal notes on the customer
Items
id
Catalog item ID
name
Item name
description
Item description
category_id
Linked category
variations
Variations with price and SKU
is_deleted
Whether the item has been deleted
Inventories
catalog_object_id
Item variation ID
location_id
Location of the stock
quantity
Current stock quantity
state
Inventory state (IN_STOCK, SOLD, etc.)
calculated_at
Timestamp of the inventory calculation
Shifts
id
Shift ID
employee_id
Team member ID
location_id
Location of the shift
start_at
Shift start time
end_at
Shift end time
status
Shift status (OPEN, CLOSED)
wage
Hourly wage applied to the shift
Loyalties
id
Loyalty account ID
customer_id
Linked customer ID
program_id
Loyalty program ID
balance
Current points balance
lifetime_points
Total points ever earned
created_at
Account creation date
Common metric combinations
Orders + Payments (Join on order_id): Reconcile transaction values against order totals and payment methods
Orders + Customers (Join on customer_id): Analyze revenue per customer segment
Shifts + Team member wages (Join on employee_id): Calculate total labor cost per shift or location
Inventories + Items (Join on catalog_object_id): See stock levels alongside item names and prices
Payments + Refunds (Append or Join): Build a complete picture of net revenue after refunds
Use cases by role
Pull Orders and Payments into Google Sheets for a daily revenue summary
Monitor Inventory levels across locations and set up alerts when stock drops
Use the Locations entity to compare sales performance across stores
Send Orders data to ChatGPT or Claude to automatically generate weekly sales summaries
Join Payments and Refunds to calculate net revenue per period
Export Bank accounts and Cash drawers data for reconciliation
Pull Taxes data to verify tax collection amounts against filings
Load payment data into BigQuery for long-term financial trend analysis
Combine Shifts and Team member wages to build a labor cost report by location or team member
Export Team members data to keep staff rosters up to date in external HR tools
Use the Aggregate transformation on Shifts data to calculate total hours worked per week
Analyze Customers and Loyalties data to segment high-value customers by points balance or visit frequency
Join Discounts with Orders to measure the revenue impact of promotions
Send customer loyalty data to Gemini or Perplexity for churn prediction prompts
Platform-specific notes
Square amounts are returned in the smallest currency unit (e.g., cents for USD). Divide by 100 to get dollar values in your destination.
The start date parameter limits which records are returned for time-based entities like Orders, Payments, Refunds, and Shifts. Catalog entities (Items, Categories, Taxes) return all records regardless of start date.
Enabling Include deleted objects will return soft-deleted catalog items, categories, discounts, and taxes — useful if you need a complete historical catalog audit.
Square data is scoped to the connected account. If you have multiple Square accounts, you'll need a separate connection for each.
location_idis a key join field across almost every entity — use it to segment any report by physical store or venue.
Last updated
Was this helpful?
