Clarityflow API
  • Clarityflow Developer API
  • Authentication
  • Webhooks
    • Webhook Event for Conversation Created
    • Webhook Event for Message Created
    • Webhook Event for Message Viewed
    • Webhook Event for Appointment Scheduled
    • Webhook Event for Product Purchased
    • Webhook Event for Form Submission
  • API Reference
    • Conversations
    • Messages
Powered by GitBook
On this page
  1. Webhooks

Webhook Event for Product Purchased

This event fires when a product has been purchased via Clarityflow Commerce.

Here is an example request body:

{
  "type": "new_purchase",
  "id": "abfe656b-cb51-4540-af32-a8e8b954221b",
  "occurred_at": "2022-04-01T14:25:48.585+00:00",
  "payload": {
    "purchase": {
      "id": 283,
      all purchase    data...
    }
  }
}
PreviousWebhook Event for Appointment ScheduledNextWebhook Event for Form Submission

Last updated 5 months ago