Please let me know how can I clear an optional field value via the following API (e.g. contactPhoneNumber field😞
If I send
"contactPhoneNumber ": ""
the phone number is still there when I send
The same behaviour when "contactPhoneNumber ": null.
Solved! Go to Solution
We're happy to help. We're currently reviewing your query and we'll get back to you soon.
Thanks for your response @DianaTran-Yee! Do you have any updates on the issue? We are planning to go to production soon and this issue affects our implementation significantly. At least we should understand whether it's a bug or a designed behavior that we cannot clear some field.
Thanks for following up on the query. We're happy to answer your question. Sending a blank field such as “contactPhoneNumber ": "" is the right way to clear a field.
But as you've observed, that is not the current behavior. We will get this updated in our upcoming releases. We apologize for the inconvenience. Please let us know if you have other questions, we're happy to help.
@DianaTran-Yee, thanks for the clarifications Diana!
It would be great if you have some rough estimation when the new release with the changed behaviour could be available in the sandbox for testing.
Or maybe you have some roadmap or public web-page that we could subscribe on to be informed when the issue is fixed.
Good questions and we're happy to help. We'll get back to you soon on this. Let us know if we can help answer any other questions that you have.
This has been prioritized in our backlog and scheduled to be fixed by the April timeframe. The product team has noted your request and will notify you via this thread once the update has been made. Thank you for your interest in Visa Alias Directory Service and feel free to reach out with any further questions.
Thank you for the update! We are looking forward to the fix in April.
Thank you again for your interest in Visa Alias Directory Service. A quick update on this inquiry. This issue will be fixed in our upcoming release and available by May 5, 2021. Please don’t hesitate to reach out with any other questions or feedback.
Thanks for the update Diana, we will test the fix and let you know if it's resolved.