curl --request POST \
--url https://api.kajabi.com/v1/customers/{customer_id}/relationships/offers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": [
{
"id": "<string>",
"type": "<string>"
}
]
}
'{
"data": [
{
"id": "<string>",
"type": "<string>"
}
],
"links": {
"self": "<string>"
}
}Create an offer grant for a customer.
In the request body inlcude offer resource identifier(s), id: OFFER_ID, type: "offers".
{ "data": [{"type": "offers", "id": "123"}] }
curl --request POST \
--url https://api.kajabi.com/v1/customers/{customer_id}/relationships/offers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": [
{
"id": "<string>",
"type": "<string>"
}
]
}
'{
"data": [
{
"id": "<string>",
"type": "<string>"
}
],
"links": {
"self": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Was this page helpful?