`legacyResourceId` is not available on LineItem via Graphql api

`legacyResourceId` is not available on LineItem via Graphql api

Andrew-Corknine
Explorer
76 1 29

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?

Reply 1 (1)

Luke_K
Shopify Staff
402 66 102

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!

 

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