member.created
The 'member.created' event is triggered when a member is invited to be a member under a subscription.
{
"type": "member.created",
"id": "evt_AhzmfbpVga4GqZOjnM0cD0RB",
"created": 1650307647,
"data": {
"object": {
"object": "member",
"id": null,
"subscription_id": 98,
"site_id": 1,
"user_id": null,
"address_id": null,
"invitation_email": "[email protected]",
"status": "pending",
"subscription": {
"id": 98,
"object_id": "sub_1KiJcaBxSl9eyIz5dhTHvf8I",
"site_id": 1,
"address_id": null,
"backdate_start_date": null,
"billing": "send_invoice",
"billing_cycle_anchor": "2022-03-28T14:32:40.000000Z",
"cancel_at": "2022-03-29T14:32:40.000000Z",
"cancel_at_period_end": 0,
"canceled_at": "2022-03-28T14:35:57.000000Z",
"cancel_reason": null,
"created": "2022-03-28T14:32:40.000000Z",
"current_period_end": "2022-03-29T14:32:40.000000Z",
"current_period_start": "2022-03-28T14:32:40.000000Z",
"days_until_due": 30,
"ended_at": null,
"quantity": 1,
"shipments_remaining": null,
"source": "Phone",
"start_date": "2022-03-28T14:32:40.000000Z",
"status": "active",
"trial_end": null,
"trial_start": null,
"shipments_undeliverable": false,
"shipments_suspended_until": null,
"is_gift_donor": null,
"is_gift_recipient": null,
"gift_code": null,
"is_redeemed": null,
"gift_recipient_email": null,
"gift_recipient_first_name": null,
"gift_recipient_last_name": null,
"gift_notification_sent": 0,
"gift_start_date": null,
"gift_message": null,
"gift_donor_subscription_id": null,
"agency_id": null
}
}
}
}
Updated about 1 month ago
Did this page help you?