Square sellers use Square Online to build eCommerce websites by choosing from a variety of built-in templates and features. Developers can create integrations and third-party applications that extend Square Online features and add custom functionality.
The Sites API lets you retrieve basic details about the sites that belong to a seller (such as site ID, title, and domain). You can use the Sites API in combination with the Snippets API to add a snippet to a Square Online site.
Applications that use OAuth require the
ONLINE_STORE_SITE_READpermission to access site resources for a Square seller account. Depending on its functionality, your application might also require other Square permissions. For more information, see OAuth API Overview.
Square doesn't provide a sandbox eCommerce environment for testing calls to the Sites API.
The Sites API cannot be used to access or manage Square Online orders. To work with orders, use
SearchOrdersand other Orders API endpoints. For more information, see Orders API Overview.