v1

latestOpenAPI 3.0.0Apache 2.02026-07-143281,4552.1 MB
CustomerCustomAttributes

DeleteCustomerCustomAttribute

Deletes a custom attribute associated with a customer profile.

To delete a custom attribute owned by another application, the visibility setting must be VISIBILITY_READ_WRITE_VALUES. Note that seller-defined custom attributes (also known as custom fields) are always set to VISIBILITY_READ_WRITE_VALUES.

delete/v2/customers/{customer_id}/custom-attributes/{key}

Path parameters

customer_idstring required

The ID of the target customer profile.

keystring required

The key of the custom attribute to delete. This key must match the key of a custom attribute definition in the Square seller account. If the requesting application is not the definition owner, you must use the qualified key.

Response

Success

Example response

{}