Hi, I am trying to subcsribve a customer to a list and i am getting an error-
Below is the payload
{
"data": {
"type": "subscription",
"attributes": {
"profiles": {
"data": [
{
"type": "profile",
"attributes": {
"email": "jayesh789@gmail.com",
"phone_number": "+97979799"
}
}
]
}
},
"relationships": {
"list": {
"data": {
"type": "list",
"id": "Rt4K9n"
}
}
}
}
}
and i am geting below error via API
{
"errors": [
{
"id": "2b2c4d75-3341-41ab-84ac-e434821e5042",
"status": 400,
"code": "invalid",
"title": "Invalid input.",
"detail": "Invalid Company ID",
"source": {
"pointer": "/data"
},
"links": {},
"meta": {}
}
]
}