New Shopify Certification now available: Liquid Storefronts for Theme Developers

DraftOrderCreate shippingLine ignored when using shippingRateHandle from DraftOrderCalculate

InstaPunchout
Shopify Partner
4 0 2

This was working untill it suddenly stopped today.

 

I first get list of availableShippingRates from draftOrderCalculate.

I then use  the handle, amount, title in draftOrder.shippingLine

 

This used to work but suddenly stopped and shippingLine is now null

Replies 13 (13)
SBD_
Shopify Staff
Shopify Staff
1663 232 341

Hey @InstaPunchout 

 

Are you able to provide replication steps / store details? (DM is fine).

Scott | Developer Advocate @ Shopify 

InstaPunchout
Shopify Partner
4 0 2

sent a DM, thanks

bluepnume
Shopify Partner
9 0 3

We are seeing the exact same issue across a ton of stores. Can you please help us get in contact with the Shopify API team, this is a killer bug.

jc-wagster
Shopify Partner
2 0 2
SBD_
Shopify Staff
Shopify Staff
1663 232 341

Thanks for the additional reports @bluepnume @jc-wagster. Chasing this up and will report back.

Scott | Developer Advocate @ Shopify 

SBD_
Shopify Staff
Shopify Staff
1663 232 341

@InstaPunchout @bluepnume @jc-wagster - confirmed issue and a fix is in progress.

Scott | Developer Advocate @ Shopify 

SBD_
Shopify Staff
Shopify Staff
1663 232 341

Update: fix should roll out next week. Thanks for your patience!

Scott | Developer Advocate @ Shopify 

bluepnume
Shopify Partner
9 0 3

Hi @SBD_ - do you have any update on whether the fix is due to go out soon? We're still seeing the problem across all shopify stores with carrier shipping rates.

SBD_
Shopify Staff
Shopify Staff
1663 232 341

Hey @bluepnume - likely mid-week.

Scott | Developer Advocate @ Shopify 

LEGO1
Visitor
2 0 2

Just checking in here on if the fix was rolled out yet? @SBD_ 

SBD_
Shopify Staff
Shopify Staff
1663 232 341

Hey @LEGO1 

 

Confirming the fix has rolled out. Let me know if you're still seeing issues.

Scott | Developer Advocate @ Shopify 

bluepnume
Shopify Partner
9 0 3

Hi @SBD_ 

 

Can confirm that the issue is happening much less frequently so thank you so much for your help pushing it through!

That said, we are still seeing the issue intermittently for a few shipping lines. I will share the x-request-id from the draft order calls which show the issue; could you please help re-open the ticket and provide these to the engineering team?

x-request-id: d7b01e95-521e-40e8-9c06-20f88079a44d

x-request-id: bc8aa921-14c1-40b9-8f06-8e8f323d65fa

 

It's the same issue: we pass a shipping line with a handle, and the api just returns `shipping_line: null`


Please let me know if any other information would be helpful,

 

Thanks again!

SBD_
Shopify Staff
Shopify Staff
1663 232 341

Thanks for the details! Passing this information along.

Scott | Developer Advocate @ Shopify