Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In
  • Home

  • Dev Essentials

  • Payments

  • Commerce

  • Customers

  • Staff

  • Merchants

    • Merchants

    • Merchant Custom Attributes

    • Locations

    • Location Custom Attributes

  • Objects & Enums

  • Webhook Events

  • Deprecated

  • SDKs

<- Square API

Square API

All versions ->

Location Custom Attributes

Create and manage location-related custom attribute definitions and custom attributes.

Use the Location Custom Attributes API to create and manage custom attributes for locations. Custom attributes can be used to store properties or metadata that simplify integration, synchronization, and personalization workflows. After a custom attribute definition is created in a Square seller account, the custom attribute value can be set for locations.

For more information, see the following guides:

  • Location Custom Attributes
  • Square Webhooks Overview
  • Endpoints

  • Webhooks

All versions ->

List location custom attribute definitions

GET/v2/locations/custom-attribute-definitions

Lists the location-related custom attribute definitions that belong to a Square seller account.

Beta

Create location custom attribute definition

POST/v2/locations/custom-attribute-definitions

Creates a location-related custom attribute definition for a Square seller account.

Beta

Delete location custom attribute definition

DELETE/v2/locations/custom-attribute-definitions/{key}

Deletes a location-related custom attribute definition from a Square seller account.

Beta

Retrieve location custom attribute definition

GET/v2/locations/custom-attribute-definitions/{key}

Retrieves a location-related custom attribute definition from a Square seller account.

Beta

Update location custom attribute definition

PUT/v2/locations/custom-attribute-definitions/{key}

Updates a location-related custom attribute definition for a Square seller account.

Beta

Bulk delete location custom attributes

POST/v2/locations/custom-attributes/bulk-delete

Deletes custom attributes for locations as a bulk operation.

Beta

Bulk upsert location custom attributes

POST/v2/locations/custom-attributes/bulk-upsert

Creates or updates custom attributes for locations as a bulk operation.

Beta

List location custom attributes

GET/v2/locations/{location_id}/custom-attributes

Lists the custom attributes associated with a location.

Beta

Delete location custom attribute

DELETE/v2/locations/{location_id}/custom-attributes/{key}

Deletes a custom attribute associated with a location.

Beta

Retrieve location custom attribute

GET/v2/locations/{location_id}/custom-attributes/{key}

Retrieves a custom attribute associated with a location.

Beta

Upsert location custom attribute

POST/v2/locations/{location_id}/custom-attributes/{key}

Creates or updates a custom attribute for a location.

Beta