`legacyResourceId` is not available on LineItem via Graphql api

Andrew-Corknine
Shopify Partner
69 1 20

Hi there,
I am working on migrating a few api calls from the rest API to the graphql API.

I have noticed that legacyResourceId is not available on LineItem type.  Is there a way to make this available?

0 Likes
L_J_K
Shopify Staff
Shopify Staff
305 41 49

Hey @Andrew-Corknine 

Alas, there isn't a way to make it available. I'll make this known for the attention of our Product Team, definitely. 

The End of the Line Item's ID in GraphQL e.g gid://shopify/LineItem/123456789 maps to the same line item ID in REST but I can understand how it would be easier to just handle the legacyResourceID if you are transitioning over calls from one API to the other. Hope that at least clears up things!

 

| API Support @ Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
0 Likes