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

Customer custom attribute definition owned updated

EVENT customer.custom_attribute_definition.owned.updated

Published when a customer custom attribute definition created by the subscribing application is updated. A custom attribute definition can only be updated by the application that created it.


Permissions
CUSTOMERS_READ
Name Description
merchant_id
string

The ID of the seller associated with the event that triggered the event notification.

type
string

The type of this event. The value is "customer.custom_attribute_definition.owned.updated".

event_id
string

A unique ID for the event notification.

created_at
string

Read only The timestamp that indicates when the event notification 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
CustomAttributeDefinitionSquareEventData

The data associated with the event that triggered the event notification.

Examples

You are viewing an old version of the API
Example payload
{
  "merchant_id": "DM7VKY8Q63GNP",
  "type": "customer.custom_attribute_definition.owned.updated",
  "event_id": "d914e6ef-9e37-4bca-a663-ecc55f5d98d3",
  "created_at": "2022-04-26T01:22:29Z",
  "data": {
    "type": "custom_attribute_definition",
    "id": "sq0idp-LJ1Kr4Iim0hGDvAwrv8HIB:favorite-drink",
    "object": {
      "created_at": "2022-04-21T21:57:39Z",
      "description": "The customer's favorite drink",
      "key": "sq0idp-LJ1Kr4Iim0hGDvAwrv8HIB:favorite-drink",
      "name": "Favorite Drink",
      "schema": {
        "$ref": "https://developer-production-s.squarecdn.com/schemas/v1/common.json#squareup.common.String"
      },
      "updated_at": "2022-04-26T01:22:29Z",
      "version": 2,
      "visibility": "VISIBILITY_READ_ONLY"
    }
  }
}