Retrieves an order-related custom attribute definition from a Square seller account.
GET
/v2/orders/custom-attribute-definitions/{key}
Retrieves an order-related custom attribute definition from a Square seller account.
To retrieve a custom attribute definition created by another application, the visibility
setting must be VISIBILITY_READ_ONLY
or VISIBILITY_READ_WRITE_VALUES
. Note that seller-defined custom attributes (also known as custom fields) are always set to VISIBILITY_READ_WRITE_VALUES
.
To enable optimistic concurrency control, include this optional field and specify the current version of the custom attribute.