Order Custom Attributes
List order custom attribute definitions
Create order custom attribute definition
Delete order custom attribute definition
Retrieve order custom attribute definition
Update order custom attribute definition
Bulk delete order custom attributes
Bulk upsert order custom attributes
List order custom attributes
Delete order custom attribute
Retrieve order custom attribute
Upsert order custom attribute
Webhooks
order.custom_attribute_definition.owned.created
order.custom_attribute_definition.owned.deleted
order.custom_attribute_definition.owned.updated
order.custom_attribute_definition.visible.created
order.custom_attribute_definition.visible.deleted
order.custom_attribute_definition.visible.updated
order.custom_attribute.owned.deleted
order.custom_attribute.owned.updated
order.custom_attribute.visible.deleted
order.custom_attribute.visible.updated
<- Order Custom Attributes API
Order Custom Attributes API
Version
2023-05-17
DELETE
/v2/orders/custom-attribute-definitions/{key}
Deletes an order-related custom attribute definition from a Square seller account.
Only the definition owner can delete a custom attribute definition.
Guide
Delete an order custom attribute definition
Example code
key
string
Required
The key of the custom attribute definition to delete.
errors
Error [ ]
Any errors that occurred during the request.