Order custom attribute definition owned deleted BETA
EVENT
order.custom_attribute_definition.owned.deleted
Published when an order custom attribute definition that is owned by the subscribing app is deleted.
Permissions
ORDERS_READ
Name | Description |
---|---|
merchant_
|
The ID of the target seller associated with the event. |
type
|
The type of this event. The value is |
event_
|
A unique ID for the event. |
created_
|
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
|
The data associated with the event. |
Examples
Example payload
{
"merchant_id": "MLABZFS5JTW5B",
"type": "order.custom_attribute_definition.owned.deleted",
"event_id": "4cadb90e-8dac-38c0-8f50-521f477cf4a7",
"created_at": "2022-11-09T21:04:52Z",
"data": {
"type": "custom_attribute_definition",
"id": "sq0ids-tr5sCkWm3b9X9MkpAvJ42A:table-number",
"deleted": true,
"object": {
"created_at": "2022-11-09T20:56:14.351Z",
"description": "Table number at a location",
"key": "sq0ids-tr5sCkWm3b9X9MkpAvJ42A:table-number",
"name": "Table Number",
"schema": {
"$ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String"
},
"updated_at": "2022-11-09T20:56:14.351Z",
"version": 1,
"visibility": "VISIBILITY_READ_WRITE_VALUES"
}
}
}