curl --request POST \
--url https://api.kajabi.com/v1/contacts/{contact_id}/relationships/offers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": [
{
"id": "<string>",
"type": "<string>"
}
],
"meta": {
"send_customer_welcome_email": true
}
}
'{
"data": [
{
"id": "<string>",
"type": "<string>"
}
],
"links": {
"self": "<string>"
}
}Create an offer grant for a contact which results in creating a new customer record for your contact.
In the request body inlcude offer resource identifier(s), id: OFFER_ID, type: "offers".
To skip sending a welcome email to the customer include a meta object in the request body.
{ "data": [{"type": "offers", "id": "123"}], "meta": {"send_customer_welcome_email": false}}
The meta attribute send_customer_welcome_email as false will prevent sending the welcome email.
(The default behavior is to send the welcome email.)
curl --request POST \
--url https://api.kajabi.com/v1/contacts/{contact_id}/relationships/offers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": [
{
"id": "<string>",
"type": "<string>"
}
],
"meta": {
"send_customer_welcome_email": true
}
}
'{
"data": [
{
"id": "<string>",
"type": "<string>"
}
],
"links": {
"self": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?