Happy Business Starts Here

Highlighted
Zuora Alumni

Getting "invalid id for update" when updating account status

Question: Why am getting an error of "invalid id for update" when updating account status" when using REST to update an account status?  Below is my REST request.

 

PUT /v1/action/update HTTP/1.1
Host: rest.apisandbox.zuora.com
Authorization: Basic a3lsZS5oYW5kbGV5QG1pbmRib2R5b25saW5lLmNvbTpuNHQwQGZoQlQkY0ljOHo=
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 525ea3c2-2d4b-8859-3fec-c95822e45f8d

{"objects":[{"Status":"Active","id":"2c92c0fxxxxxxxxxxxxxx72553"}],"type":"Account"}



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Zuora Alumni

Re: Getting "invalid id for update" when updating account status

Answer: The "Id" field is case sensitive.  You had it all lower case when the first letter should be uppercase.

 

 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post

1 REPLY 1
Highlighted
Zuora Alumni

Re: Getting "invalid id for update" when updating account status

Answer: The "Id" field is case sensitive.  You had it all lower case when the first letter should be uppercase.

 

 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post