Carrier Service API cant retrieve information.

Highlighted
New Member
3 0 0

I have this endpoint to feed shopify the shipping rates. The response is ok, however it's not always getting it. Sometimes it shows, most of the time its not.

 

The thing is, my script is taking a lot of time to return the rates, maybe 15 to 25secs. And i dont think i can make it faster, as it really has to do a lot of things to form the rates.

 

I confirmed this by cutting some logic to return to shopify faster.

 

Is there any way to like make shopify wait a little more longer?

 

Thank you for your help.

0 Likes
Shopify Staff
Shopify Staff
65 7 9

Hey @mrcrislainez,

 

There's no way to adjust the timeout period at checkout, as the built in timeouts are designed to ensure a smooth customer experience at checkout. I believe the timeout in this case is 10 seconds, if you can provide the request_id for a call that timed out I can check our logs to confirm.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes