curl --request POST \
--url https://us.api.flexprice.io/v1/webhook-events/customer.updated{
"customer": {
"address_city": "<string>",
"address_country": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"address_postal_code": "<string>",
"address_state": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"email": "<string>",
"environment_id": "<string>",
"external_id": "<string>",
"id": "<string>",
"integrations": [
{
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"entity_id": "<string>",
"entity_type": "customer",
"environment_id": "<string>",
"id": "<string>",
"provider_entity_id": "<string>",
"provider_type": "<string>",
"status": "published",
"tenant_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": "<string>"
}
],
"metadata": {},
"name": "<string>",
"status": "published",
"tenant_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": "<string>"
},
"event_type": "subscription.created"
}Fired when a customer is updated. Doc-only for parsing.
curl --request POST \
--url https://us.api.flexprice.io/v1/webhook-events/customer.updated{
"customer": {
"address_city": "<string>",
"address_country": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"address_postal_code": "<string>",
"address_state": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"email": "<string>",
"environment_id": "<string>",
"external_id": "<string>",
"id": "<string>",
"integrations": [
{
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"entity_id": "<string>",
"entity_type": "customer",
"environment_id": "<string>",
"id": "<string>",
"provider_entity_id": "<string>",
"provider_type": "<string>",
"status": "published",
"tenant_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": "<string>"
}
],
"metadata": {},
"name": "<string>",
"status": "published",
"tenant_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": "<string>"
},
"event_type": "subscription.created"
}Webhook payload
Customer response object containing all customer information
Show child attributes
subscription.created, subscription.draft.created, subscription.activated, subscription.updated, subscription.paused, subscription.cancelled, subscription.resumed, subscription.phase.created, subscription.phase.updated, subscription.phase.deleted, feature.created, feature.updated, feature.deleted, feature.wallet_balance.alert, entitlement.created, entitlement.updated, entitlement.deleted, wallet.created, wallet.updated, wallet.terminated, wallet.transaction.created, payment.created, payment.updated, payment.failed, payment.success, payment.pending, customer.created, customer.updated, customer.deleted, invoice.update.finalized, invoice.update.payment, invoice.update.voided, invoice.update, invoice.payment.overdue, wallet.credit_balance.dropped, wallet.credit_balance.recovered, wallet.ongoing_balance.dropped, wallet.ongoing_balance.recovered, subscription.renewal.due, invoice.communication.triggered, credit_note.created, credit_note.updated