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

Order custom attribute owned deleted BETA

EVENT order.custom_attribute.owned.deleted

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


Permissions
ORDERS_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 "order.custom_attribute.owned.deleted".

event_id
string

A unique ID for the event.

created_at
string

Read only The timestamp of when the 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
CustomAttributeSquareEventData

The data associated with the event.

Examples

You are viewing an old version of the API
Example payload
{
  "merchant_id": "MLABZFS5JTW5B",
  "type": "order.custom_attribute.owned.deleted",
  "event_id": "0026e02d-de6f-32b3-ba9f-d353d46544eb",
  "created_at": "2022-11-09T21:36:17Z",
  "data": {
    "type": "custom_attribute",
    "id": "sq0ids-tr5sCkWm3b9X9MkpAvJ42A:table-number:ORDER:VilxhxZHuWEqDC6GQNgiLNshRMYZY",
    "deleted": true,
    "object": {
      "created_at": "2022-11-09T21:30:17.093Z",
      "key": "sq0ids-tr5sCkWm3b9X9MkpAvJ42A:table-number",
      "updated_at": "2022-11-09T21:34:20.906Z",
      "value": "TEST",
      "version": 2,
      "visibility": "VISIBILITY_READ_WRITE_VALUES"
    }
  }
}