How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Square CustomerCustomAttributes API

The CustomerCustomAttributes API from Square — 5 operation(s) for customercustomattributes.

Square CustomerCustomAttributes API is one of 45 APIs that Square publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include CustomerCustomAttributes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and an AsyncAPI specification.

This API exposes 10 operations across 5 paths, and defines 22 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, https://connect.squareup.com.

10 operations 5 paths 22 schemas 2 DELETE4 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Server
https://connect.squareup.com
Authentication
OAuth 2.0, API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 2

Square CustomerCustomAttributes API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 57 scopes. An API key is passed in the header as Authorization (oauth2ClientSecret).

Paths & Operations 10

Across 5 paths, the API surfaces 10 operations — 2 DELETE, 4 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

CustomerCustomAttributes 10
GET
/v2/customers/custom-attribute-definitions
Square List Customer Custom Attribute Definitions
ListCustomerCustomAttributeDefinitions 2 params → 200
POST
/v2/customers/custom-attribute-definitions
Square Create Customer Custom Attribute Definition
CreateCustomerCustomAttributeDefinition body → 200
DELETE
/v2/customers/custom-attribute-definitions/{key}
Square Delete Customer Custom Attribute Definition
DeleteCustomerCustomAttributeDefinition 1 param → 200
GET
/v2/customers/custom-attribute-definitions/{key}
Square Retrieve Customer Custom Attribute Definition
RetrieveCustomerCustomAttributeDefinition 2 params → 200
PUT
/v2/customers/custom-attribute-definitions/{key}
Square Update Customer Custom Attribute Definition
UpdateCustomerCustomAttributeDefinition 1 param body → 200
POST
/v2/customers/custom-attributes/bulk-upsert
Square Bulk Upsert Customer Custom Attributes
BulkUpsertCustomerCustomAttributes body → 200
GET
/v2/customers/{customer_id}/custom-attributes
Square List Customer Custom Attributes
ListCustomerCustomAttributes 4 params → 200
DELETE
/v2/customers/{customer_id}/custom-attributes/{key}
Square Delete Customer Custom Attribute
DeleteCustomerCustomAttribute 2 params → 200
GET
/v2/customers/{customer_id}/custom-attributes/{key}
Square Retrieve Customer Custom Attribute
RetrieveCustomerCustomAttribute 4 params → 200
POST
/v2/customers/{customer_id}/custom-attributes/{key}
Square Upsert Customer Custom Attribute
UpsertCustomerCustomAttribute 2 params body → 200

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are CustomAttributeDefinition (8 properties), CustomAttribute (7 properties), Error (4 properties), ListCustomerCustomAttributesResponse (3 properties). Each schema is shown below with its type and property counts.

ListCustomerCustomAttributesResponse
object
Represents a [ListCustomerCustomAttributes](api-endpoint:CustomerCustomAttributes-ListCustomerCustomAttributes) response. Either customattributes, an empty obj…
3 properties
BulkUpsertCustomerCustomAttributesResponse
object
Represents a [BulkUpsertCustomerCustomAttributes](api-endpoint:CustomerCustomAttributes-BulkUpsertCustomerCustomAttributes) response, which contains a map of r…
2 properties
UpdateCustomerCustomAttributeDefinitionResponse
object
Represents an [UpdateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-UpdateCustomerCustomAttributeDefinition) response. Either customa…
2 properties
CustomAttributeDefinition
object
Represents a definition for custom attribute values. A custom attribute definition specifies the key, visibility, schema, and other properties for a custom att…
8 properties
BulkUpsertCustomerCustomAttributesResponseCustomerCustomAttributeUpsertResponse
object
Represents a response for an individual upsert request in a [BulkUpsertCustomerCustomAttributes](api-endpoint:CustomerCustomAttributes-BulkUpsertCustomerCustom…
3 properties
CreateCustomerCustomAttributeDefinitionResponse
object
Represents a [CreateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-CreateCustomerCustomAttributeDefinition) response. Either customat…
2 properties
CustomAttribute
object
A custom attribute value. Each custom attribute value has a corresponding CustomAttributeDefinition object.
7 properties
CustomAttributeDefinitionVisibility
string
The level of permission that a seller or other applications requires to view this custom attribute definition. The Visibility field controls who can read and w…
CreateCustomerCustomAttributeDefinitionRequest
object
Represents a [CreateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-CreateCustomerCustomAttributeDefinition) request.
2 properties 1 required
UpsertCustomerCustomAttributeResponse
object
Represents an [UpsertCustomerCustomAttribute](api-endpoint:CustomerCustomAttributes-UpsertCustomerCustomAttribute) response. Either customattributedefinition o…
2 properties
RetrieveCustomerCustomAttributeDefinitionResponse
object
Represents a [RetrieveCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-RetrieveCustomerCustomAttributeDefinition) response. Either cust…
2 properties
UpdateCustomerCustomAttributeDefinitionRequest
object
Represents an [UpdateCustomerCustomAttributeDefinition](api-endpoint:CustomerCustomAttributes-UpdateCustomerCustomAttributeDefinition) request.
2 properties 1 required
DeleteCustomerCustomAttributeDefinitionResponse
object
Represents a response from a delete request containing error messages if there are any.
1 property
DeleteCustomerCustomAttributeResponse
object
Represents a [DeleteCustomerCustomAttribute](api-endpoint:CustomerCustomAttributes-DeleteCustomerCustomAttribute) response. Either an empty object {} (for a su…
1 property
BulkUpsertCustomerCustomAttributesRequest
object
Represents a [BulkUpsertCustomerCustomAttributes](api-endpoint:CustomerCustomAttributes-BulkUpsertCustomerCustomAttributes) request.
1 property 1 required
BulkUpsertCustomerCustomAttributesRequestCustomerCustomAttributeUpsertRequest
object
Represents an individual upsert request in a [BulkUpsertCustomerCustomAttributes](api-endpoint:CustomerCustomAttributes-BulkUpsertCustomerCustomAttributes) req…
3 properties 2 required
Error
object
Represents an error encountered during a request to the Connect API. See [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) fo…
4 properties 2 required
ErrorCode
string
Indicates the specific error that occurred during a request to a Square API.
UpsertCustomerCustomAttributeRequest
object
Represents an [UpsertCustomerCustomAttribute](api-endpoint:CustomerCustomAttributes-UpsertCustomerCustomAttribute) request.
2 properties 1 required
ErrorCategory
string
Indicates which high-level category of error has occurred during a request to the Connect API.
RetrieveCustomerCustomAttributeResponse
object
Represents a [RetrieveCustomerCustomAttribute](api-endpoint:CustomerCustomAttributes-RetrieveCustomerCustomAttribute) response. Either customattributedefinitio…
2 properties
ListCustomerCustomAttributeDefinitionsResponse
object
Represents a [ListCustomerCustomAttributeDefinitions](api-endpoint:CustomerCustomAttributes-ListCustomerCustomAttributeDefinitions) response. Either customattr…
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

square-customercustomattributes-api-openapi.yml Raw ↑

Other APIs Square publishes across the network.

Square Reporting API
Square Channels API
Square Transfer Orders API
Square ApplePay API
Square BankAccounts API
Square BookingCustomAttributes API
Square Bookings API
Square Cards API
Square CashDrawers API
Square Catalog API
Square Checkout API
Square CustomerGroups API
Where this information came from

This is an independent, third-party profile of Square CustomerCustomAttributes API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.