PUT account/{id}/addresses/{id} API failing
Hi,
I created an address under an account with below payload:
{
"ADDRESS_TYPE": "Home",
"STREET": "S1",
"CITY": "C1",
"STATE": "ST1",
"POSTCODE": "411045",
"COUNTRY": "India"
}
The address gets created successfully. When I try to do a PUT operation on this with below payload, it gives error as "Sequence contains no matching element (400 Server exception). Also the address gets deleted from that account.
PUT paylaod :
{
"ADDRESS_ID": 20120628955,
"ADDRESS_TYPE": "PRIMARY"
}
Comments
Hello Garima,
Can you try passing in the entire address body in the PUT call?
Thanks!
Thankyou. It worked.
I did not see this behavior for other PUT APIs, that why got curious.
Please sign in to leave a comment.