Commerce APIs

The Square Developer platform provides commerce APIs that applications can use to help sellers run their online or brick-and-mortar businesses. Sellers can use Square commerce and eCommerce APIs to process orders, manage catalogs, track inventory, book appointments, and more.

In addition to commerce APIs, you can use Square payments, customer, staff, and merchant APIs to help sellers manage all aspects of their business.

Link to section

Square products

Square commerce APIs help sellers offer products and services to buyers.

A fully integrated Point of Sale system for processing payments and managing online sales, contactless pickup, and customer deliveries.

The customer display on Square Register invites customers to pay intuitively with a simple tap, dip, or swipe, so payments are processed quickly. Square Register also accepts Cash App Pay.

Learn about Square Register

tab-image
Link to section

Core commerce APIs

Use these APIs to gain access to seller catalog items and manage the order experience between your application and Square hardware and software such as Square Point of Sale, Square for Restaurants, Square for Retail, and Square Online.

icon

Orders API

Record purchased items, calculate totals, confirm payments, track orders, and update inventory.

icon

Order Custom Attributes API

Define custom properties and associate them with one or more orders.

icon

Catalog API

Manage seller catalogs of products and services, including modifiers, categories, discounts, and taxes.

icon

Inventory API

Update inventory counts and report on the inventory offered by a seller.

icon

Orders API

Record purchased items, calculate totals, confirm payments, track orders, and update inventory.

icon

Order Custom Attributes API

Define custom properties and associate them with one or more orders.

icon

Catalog API

Manage seller catalogs of products and services, including modifiers, categories, discounts, and taxes.

icon

Inventory API

Update inventory counts and report on the inventory offered by a seller.

Link to section

Appointment booking APIs

Use these APIs to book Square Appointments and even create a custom booking flow.

icon

Bookings API

Let customers book and manage appointments for services offered by sellers.

icon

Booking Custom Attributes API

Define custom properties and associate them with one or more bookings.

icon

Bookings API

Let customers book and manage appointments for services offered by sellers.

icon

Booking Custom Attributes API

Define custom properties and associate them with one or more bookings.

Link to section

Build with Square Online

Use these APIs to enhance Square Online sites.

icon

Sites API

Get basic information about Square Online sites, such as the site ID, title, and domain.

icon

Snippets API

Add custom functionality to Square Online sites with your own snippets of HTML, CSS, and JavaScript to create custom experiences like pop-ups and modals by injecting snippets into site pages.

icon

Sites API

Get basic information about Square Online sites, such as the site ID, title, and domain.

icon

Snippets API

Add custom functionality to Square Online sites with your own snippets of HTML, CSS, and JavaScript to create custom experiences like pop-ups and modals by injecting snippets into site pages.

Link to section

Commerce management APIs

Use these APIs to add additional commerce functionality to your application.

icon

Vendors API

Create and manage vendor profiles to keep sellers connected with their suppliers.

icon

Cash Drawer API

Get activity reporting data for cash drawers that are paired with Square Point of Sale devices.

icon

Vendors API

Create and manage vendor profiles to keep sellers connected with their suppliers.

icon

Cash Drawer API

Get activity reporting data for cash drawers that are paired with Square Point of Sale devices.

Link to section

Commerce sample applications

Get up and running quickly with Square commerce APIs and see the APIs in action.

Order-Ahead Sample

Lets buyers place online orders, choose delivery options, earn loyalty points, and pay for the order.

Bookings API Sample

Checks availability and books an appointment for a customer with a team member.

Catalog API Sample

Creates, clones, deletes, and retrieves Catalog objects and manages tax and location settings.

Square Online Snippets Sample

Injects a snippet that lets you choose an emoji to use as the cursor on a Square Online site.

Order-Ahead Sample

Lets buyers place online orders, choose delivery options, earn loyalty points, and pay for the order.

Bookings API Sample

Checks availability and books an appointment for a customer with a team member.

Catalog API Sample

Creates, clones, deletes, and retrieves Catalog objects and manages tax and location settings.

Square Online Snippets Sample

Injects a snippet that lets you choose an emoji to use as the cursor on a Square Online site.

Link to section

Commerce guides

Explore commonly used features and tasks you can do with Square commerce APIs.

Link to section

Extend commerce with other API groups

Build with other Square APIs to create robust and fully integrated commerce experiences.

icon

Payments × Commerce

Connect payments with orders, send invoices for orders, and set up subscription plans in the catalog.

Payment APIs

icon

Customers × Commerce

Increase customer engagement in ordering and booking flows and analyze customer interactions.

Customer APIs

icon

Staff × Commerce

Build on team member integration with bookings, inventory, and cash drawer shifts.

Staff APIs

icon

Payments × Commerce

Connect payments with orders, send invoices for orders, and set up subscription plans in the catalog.

Payment APIs

icon

Customers × Commerce

Increase customer engagement in ordering and booking flows and analyze customer interactions.

Customer APIs

icon

Staff × Commerce

Build on team member integration with bookings, inventory, and cash drawer shifts.

Staff APIs