Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
API Shipping Estimate returns wrong info when SC is null
API Shipping Estimate returns wrong info when SC is null
ID: 554948
No Fix
Published on 4/1/2022
Last update on 7/1/2024

Summary

The API is returning wrong indexed info when executed with SC as null.

Simulation

=> Execute the API on account, with SC null on API, (this account has all docs with Sales Policy and the correct return is 200 ok empty.) "https://.vtexcommercestable.com.br/api/logistics/pvt/shipping/estimate"

=> When you remove the Sales Policy from any Dock and execute the same API you will see returns from shipping estimate for that condition because there is now Dock whitout SC.

=> But when you reinsert the Sales Policy on Dock and execute again the API, still shows the result. Does not return to original behavior.

Workaround

The workaround is send the API wiith SC defined.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback