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

    • Orders

    • Order Custom Attributes

    • Catalog

    • Inventory

    • Transfer Order

    • Bookings

    • Booking Custom Attributes

    • Vendors

    • Channels

    • Sites

    • Snippets

    • Cash Drawers

  • Customers

  • Staff

  • Merchants

  • Objects & Enums

  • Webhook Events

  • Deprecated

  • SDKs

<- Square API

Square API

All versions ->

Order Custom Attributes

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

Use the Order Custom Attributes API to create and manage custom attributes for orders. 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 orders.

For more information, see the following guides:

  • Order Custom Attributes
  • Square Webhooks Overview
  • Endpoints

  • Webhooks

All versions ->

List order custom attribute definitions

GET/v2/orders/custom-attribute-definitions

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

Beta

Create order custom attribute definition

POST/v2/orders/custom-attribute-definitions

Creates an order-related custom attribute definition.

Beta

Delete order custom attribute definition

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

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

Beta

Retrieve order custom attribute definition

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

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

Beta

Update order custom attribute definition

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

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

Beta

Bulk delete order custom attributes

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

Deletes order custom attributes as a bulk operation.

Beta

Bulk upsert order custom attributes

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

Creates or updates order custom attributes as a bulk operation.

Beta

List order custom attributes

GET/v2/orders/{order_id}/custom-attributes

Lists the custom attributes associated with an order.

Beta

Delete order custom attribute

DELETE/v2/orders/{order_id}/custom-attributes/{custom_attribute_key}

Deletes a custom attribute associated with a customer profile.

Beta

Retrieve order custom attribute

GET/v2/orders/{order_id}/custom-attributes/{custom_attribute_key}

Retrieves a custom attribute associated with an order.

Beta

Upsert order custom attribute

POST/v2/orders/{order_id}/custom-attributes/{custom_attribute_key}

Creates or updates a custom attribute for an order.

Beta