• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”
You are viewing an old version of the API

Customer custom attribute deleted BETA

EVENT customer.custom_attribute.deleted

Published when a customer custom attribute associated with a custom attribute definition that is owned by the subscribing app is deleted.


Permissions
CUSTOMERS_READ
Name Description
merchant_id
string

The ID of the target seller associated with the event.

type
string

The type of this event. The value is "customer.custom_attribute.deleted".

event_id
string

A unique ID for the webhook event.

created_at
string

Read only The timestamp of when the webhook event was created, in RFC 3339 format.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

data
CustomAttributeWebhookData

The data associated with the event.

Examples

You are viewing an old version of the API
Example payload
{
  "merchant_id": "DM7VKY8Q63GNP",
  "type": "customer.custom_attribute.deleted",
  "event_id": "f57b27d4-a4d6-43de-9e58-bc6ff90525f1",
  "created_at": "2022-04-26T01:22:29Z",
  "data": {
    "type": "custom_attribute",
    "id": "sq0idp-LJ1Kr4Iim0hGDvAwrv8HIB:favorite-drink:CUSTOMER:TNQC0TYTWMRSFFQ157KK4V7MVR",
    "deleted": true,
    "object": {
      "created_at": "2022-04-21T21:58:59Z",
      "key": "sq0idp-LJ1Kr4Iim0hGDvAwrv8HIB:favorite-drink",
      "updated_at": "2022-04-27T11:31:29Z",
      "value": "Medium coffee, 2 sugars",
      "version": 3,
      "visibility": "VISIBILITY_READ_ONLY"
    }
  }
}