Menu
Feedback
Start here

Known issues

Known issues
API Shipping Estimate returns wrong info when SC is null
Logistics
ID: 554948
No Fix
Published on4/1/2022
Last updated on7/1/2024
1 min read

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
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback