Webhook Event Payloads

Event Module Description
member.joined MOIM member has joined to the community
member.updated MOIM profile of member has been updated
product.created MOIM product has been created
product.updated MOIM product has been updated
message.created MOIM conversation message has been created

member.joined

Field Type Description
id String The id of the newly joined member
{
  "id": "UAKDIJ23KD"
}

member.updated

Field Type Description
id String The id of the updated member
{
  "id": "UAKDIJ23KD"
}

product.created

Field Type Description
id String The id of the newly created product
{
  "id": "CP:AK290DKFJD"
}

product.updated

Field Type Description
id String The id of the updated product
{
  "id": "CP:AK290DKFJD"
}

product.voted

Field Type Description
id String The id of the voted product
voted boolean indicates whether user voted or cancelled previous vote \ true if user voted, false if use cancelled the vote
{
  "id": "CP:AK290DKFJD"
  "voted" true
}

payment.paid

Field Type Description
id String The id of the paid payment
purchases Array Array of purchase object
purchases.id String id of the purchase
purchases.purchaseItems Array array of purchase item included in the purchase
purchases.purchaseItems.id String id of the purchase item
purchases.purchaseItems.productId String id of the product of the purchase item
{
  "id": "CY:3KNGIY8NDM95M"
  "purchases": [{
    "id": "CU:3F21DTP4WGNUD",
    "purchaseItems": [{
      "id": "CI:36VFD5LDXAVH8",
      "productId": "CP:AK290DKFJD"
    }]
  }]
}

subscription.subscribed

Field Type Description
id String The id of the subscription
payment Array The id of the paid payment
productId Array The id of the product
isRenewal Boolean Indicates if renewal or not
{
  "isRenewal": true,
  "productId": "CP:443IP8RY7ZGU4",
  "id": "H5N9GEY66S"
}

subscription.expired

Field Type Description
id String The id of the paid payment
productId Array The id of the product
{
  "productId": "CP:443IP8RY7ZGU4",
  "id": "H5N9GEY66S"
}

message.created

Field Type Description
id String The id of the created message
conversationId Array The id of the conversation of the message
{
  "id": "MAKDI2932K943",
  "conversationId": "C12KDI930DKF"
}

Back to top

Copyright © 2018-2023 CAN Lab PTE Ltd. All Rights Reserved.