<- Location Custom Attributes API
Location Custom Attributes API
Creates a location-related custom attribute definition for a Square seller account.
Use this endpoint to define a custom attribute that can be associated with locations.
A custom attribute definition specifies the
schema, and other properties
for a custom attribute. After the definition is created, you can call
to set the custom attribute for locations.
The custom attribute definition to create. Note the following:
Selectiondata type, the
schemais specified as a simple URL to the JSON schema definition hosted on the Square CDN. For more information, including supported values and constraints, see Supported data types.
nameis required unless
visibilityis set to
A unique identifier for this request, used to ensure idempotency. For more information, see Idempotency.