Mautic has recently released it’s new Custom Objects Plugin (which is super powerful to those that use Mautic.)
I am trying to test the API, however due to my limited knowledge I need help building the correct http request (node).
This is the example of the post I need to build (Reference here)
{
"email": "[email protected]",
"firstname": "John",
"customObjects": {
"data": [
{
"id": 1,
"alias": "products",
"data": [
{
"id": 23,
"name": "Hello From API2",
"attributes": {
"website": "https://mautic.org",
"in-stock": 45,
"multi": ["yellow", "blue"],
"sku": "2348720",
"color": "brown"
}
}
]
}
]
}
}