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 ->

Merchant Custom Attributes

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

Use the Merchant Custom Attributes API to create and manage custom attributes for merchants that connect to your application. Custom attributes can be used to store properties or metadata that simplify integration, synchronization, and personalization workflows.

For more information, see the following guides:

  • Merchant Custom Attributes
  • Square Webhooks Overview
  • Endpoints

  • Webhooks

All versions ->

List merchant custom attribute definitions

GET/v2/merchants/custom-attribute-definitions

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

Beta

Create merchant custom attribute definition

POST/v2/merchants/custom-attribute-definitions

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

Beta

Delete merchant custom attribute definition

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

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

Beta

Retrieve merchant custom attribute definition

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

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

Beta

Update merchant custom attribute definition

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

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

Beta

Bulk delete merchant custom attributes

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

Deletes custom attributes for a merchant as a bulk operation.

Beta

Bulk upsert merchant custom attributes

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

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

Beta

List merchant custom attributes

GET/v2/merchants/{merchant_id}/custom-attributes

Lists the custom attributes associated with a merchant.

Beta

Delete merchant custom attribute

DELETE/v2/merchants/{merchant_id}/custom-attributes/{key}

Deletes a custom attribute associated with a merchant.

Beta

Retrieve merchant custom attribute

GET/v2/merchants/{merchant_id}/custom-attributes/{key}

Retrieves a custom attribute associated with a merchant.

Beta

Upsert merchant custom attribute

POST/v2/merchants/{merchant_id}/custom-attributes/{key}

Creates or updates a custom attribute for a merchant.

Beta