Hi,
I’m trying create account using an example in https://docs.suitecrm.com/developer/api/developer-setup-guide/json-api/#_authentication, but I’m getting error
{
"errors": {
"status": 400,
"title": null,
"detail": "The required option \"data\" is missing."
}
}
My request looks like this:
POST https://xxx/Api/V8/module
Authorization: Bearer XXX
{
"data": {
"type": "Accounts",
"attributes": {
"name": "Test account"
}
}
}
Does anyone know what I’m doing wrong?
Thank you