Square Online

Build eCommerce Applications for Square Online

Square Online provides all the tools that Square sellers need to quickly build eCommerce websites and start selling online for free. As a developer, you can use Square Online APIs to create new integrations and third-party applications that extend Square Online features to help meet the many needs of Square sellers.

Sites API Permalink Get a link to this section

The Sites API provides the ListSites endpoint used to retrieve metadata about the Square Online sites that belong to a Square seller.

Snippets API Permalink Get a link to this section

The Snippets API lets you add and manage snippets that provide custom functionality on Square Online sites. A snippet is a script that is injected into all pages on a site, except for checkout pages.


Developers can also write embeddable code that Square sellers can add directly to their sites. For more information, see Add External Content and Widgets with Embedded Code in Square Online.

Early access program for Square Online APIs Permalink Get a link to this section

The Sites API and Snippets API are publicly available to all developers as part of an early access program (EAP). These APIs can be used to build production-ready applications for Square Online. During the EAP, Square might contact developers who are using these APIs to gather feedback that can help improve the developer experience.

Square does not provide a sandbox eCommerce environment for testing calls to Square Online APIs. For information about testing in the production environment, see Test your application.