Customers Webhook
Order webhook triggered when there's new customer on Flavours Apps. This is the example payload that we send to third-party apps.
{
"xid": "9a48c3ad-35e9-4929-b714-6fe30f4afc93",
"action": "customers.CREATE",
"timestamp": 1697681187551,
"data": {
"id": "c4a868ea-735e-461f-868c-a5d2eaa212d0",
"created_by": null,
"qoyod_id": null,
"type": null,
"gender": null,
"tax_number": null,
"zip_code": null,
"city": null,
"district": null,
"street": null,
"crn": null,
"user": {
"id": "fe4aa1ef-b35c-4e69-be60-fc34ab7447e5",
"userable_id": "c4a868ea-735e-461f-868c-a5d2eaa212d0",
"role": "CUSTOMER",
"name": "User 1",
"username": null,
"email": "[email protected]",
"phone_prefix": "966",
"phone": "55223322",
"lang": "en",
"fcm_token": null,
"is_active": true,
"email_verified_at": null,
"phone_verified_at": null,
"created_at": 1705548163869,
"updated_at": 1705548163869,
"deleted_at": null
}
}
}
Last modified: 4 months ago