on 2023 Dec 15 1:08 PM
Hi guys ,
i meet some confusing things when called cdc's api.
when called account.setAccountInfo and set phones value like:

it's working well, but when called account.importFullAccount with the same parameter, the phones value can not be written in cdc, Could anyone help with this?
Thanks in advance.
Request clarification before answering.
Hello skis,
For accounts.setAccountInfo API your phone payload works, but not for accounts.importFullAccount API. To make it work properly for both, I would recommend to modify the structure of the payload from this:
{
"phones.number": "22221"
}
to this:
{
"phones": {
"number": "22221"
}
}
It will be working for 2 Endpoints. Hope it helped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.