While using the ProfilesApi to send bulkSubscribeProfilesRequest, we never receive "Subscribed to.." events.
Identical payloads work within Postman but oddly don't work through the php-sdk.
Here is an example of the payload we send;
{
"data": {
"type": "profile-subscription-bulk-create-job",
"attributes": {
"profiles": {
"data": [
{
"type": "profile",
"attributes": {
"email": "twila.hoeger@example.org",
"subscriptions": {
"email": {
"marketing": {
"consent": "SUBSCRIBED"
}
}
}
}
}
]
},
"historical_import": false
},
"relationships": {
"list": {
"data": {
"type": "list",
"id": "LIST_ID"
}
}
}
}
}
While using the ProfilesApi to send
bulkSubscribeProfilesRequest, we never receive "Subscribed to.." events.Identical payloads work within Postman but oddly don't work through the php-sdk.
Here is an example of the payload we send;
{ "data": { "type": "profile-subscription-bulk-create-job", "attributes": { "profiles": { "data": [ { "type": "profile", "attributes": { "email": "twila.hoeger@example.org", "subscriptions": { "email": { "marketing": { "consent": "SUBSCRIBED" } } } } } ] }, "historical_import": false }, "relationships": { "list": { "data": { "type": "list", "id": "LIST_ID" } } } } }