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

Vendor updated BETA

EVENT vendor.updated

Published when a Vendor is updated.


Permissions
VENDOR_READ
Name Description
merchant_id
string

The ID of a seller associated with this event.

location_id
string

The ID of a seller location associated with this event, if the event is associated with the location.

type
string

The type of this event. The value is "vendor.updated".

event_id
string

A unique ID for this webhoook event.

created_at
string

Read only The RFC 3339-formatted time when the underlying event data object is created.

data
VendorUpdatedSquareEventData

The data associated with this event.

Examples

You are viewing an old version of the API
Example payload
{
  "merchant_id": "ETCE****QDYP",
  "type": "vendor.updated",
  "event_id": "1ae8cc43-bf73-48f6-a767-90bdfa197421",
  "created_at": "2022-03-16T01:15:35.780283073Z",
  "data": {
    "type": "vendor",
    "id": "1e8d9885-21dc-41b9-8a8f-6ccf64da5462",
    "object": {
      "operation": "UPDATED",
      "vendor": {
        "address": {
          "administrative_district_level_1": "NY",
          "country": "US",
          "locality": "New York",
          "postal_code": "10003"
        },
        "contacts": [
          {
            "email_address": "[email protected]",
            "id": "W43ANBJLR5UAV7WT",
            "name": "Joe Burrow",
            "ordinal": 0,
            "phone_number": "1-212-555-4250"
          }
        ],
        "created_at": "2022-03-16T01:04:12.581Z",
        "id": "BXIDSDOUIU34VY2V",
        "name": "Macro Brewing",
        "note": "Preferred beer supplier",
        "status": "ACTIVE",
        "updated_at": "2022-03-16T01:15:35.774Z",
        "version": 2
      }
    }
  }
}