<- Order Custom Attributes API
Order Custom Attributes API
Creates an order-related custom attribute definition.
Use this endpoint to define a custom attribute that can be associated with orders.
After creating a custom attribute definition, you can set the custom attribute for orders in the Square seller account.
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 Specifying the schema.
namemust be unique (case-sensitive) across all visible customer-related custom attribute definitions for the seller.
A unique identifier for this request, used to ensure idempotency. For more information, see Idempotency.