This is the documentation, but I am not apparently following how to do this.
curl --request POST \
--url 'https://a.klaviyo.com/client/subscriptions?company_id=SUvTvQ' \
--header 'content-type: application/vnd.api+json' \
--header 'revision: 2024-10-15' \
--data '
{
"data": {
"type": "subscription",
"attributes": {
"profile": {
"data": {
"type": "profile",
"attributes": {
"properties": {
"newKey": "New Value"
},
"email": "leanne@jbj.co"
},
"meta": {
"patch_properties": {
"append": {
"newKey": "New Value"
},
"unappend": {
"newKey": "New Value"
}
}
}
}
},
"custom_source": "ringsizer"
},
"relationships": {
"list": {
"data": {
"type": "list",
"id": "SGzFpk"
}
}
}
}
}
'
Can I please get some help.