Brands

Events

Action Event name
create a new brand brand.created
update an existing brand brand.updated

Payload example created

{
  "attemptId": "6369ea59-1325-48cf-bc9f-6c6a17ce3b40",
  "created": 1623792732,
  "data": {
    "_id": "60c91c483d6d6319a44fff7b",
    "accountId": "52a377ec430c7d4e220001fc",
    "createdAt": {
      "offset": 0,
      "value": "2021-06-15T21:31:52.534Z"
    },
    "enabled": true,
    "logos": {
      "default": null
    },
    "name": "test2",
    "updatedAt": {
      "offset": 0,
      "value": "2021-06-15T21:31:52.534Z"
    }
  },
  "event": "brand.created",
  "id": "1d16108c-aee8-41b6-b4a4-7083f2e96a80",
  "livemode": true
}

Payload example updated

{
  "attemptId": "b17bdc21-0dac-4114-a5e4-93cd2ae32b87",
  "created": 1623792732,
  "data": {
    "_id": "60c91c483d6d6319a44fff7b",
    "accountId": "52a377ec430c7d4e220001fc",
    "createdAt": {
      "offset": 0,
      "value": "2021-06-15T21:31:52.534Z"
    },
    "enabled": false,
    "logos": {
      "default": null
    },
    "name": "test2",
    "updatedAt": {
      "offset": 0,
      "value": "2021-06-15T21:31:56.942Z"
    }
  },
  "event": "brand.updated",
  "id": "cb9e4b66-ce2f-4e09-885e-96a1a91b6307",
  "livemode": true
}