Development discussions around Shopify APIs
The docs for orders/create and orders/updated shows that the payload should contain an admin_graphql_api_id field on each line_item. However, the graphql id only exists on the orders/create payload. It is missing for line items on the orders/updated payload. Not only is this inconsistent, but its a problem because store owners can edit an order and add a new line item. If the line item were part of the initial order on create then we could grab the graphql id. But if the item is added when editing an order then we don't have that data. Yes, the graphql id can be built using the line_item id, but docs also state not to do this because the format of the graphql id could change.
Can anyone confirm this behavior? If a bug, is there a better place to report this? Thanks.
I have the same problem. I noticed that it is missing.
Will it be added?
I'm experiencing the same problem, did you find a solution?
No reply or action from Shopify, and no official solution. My work around was to build the GraphQL ID using the legacyResourceId. This currently works, but may not be a valid solution in the future.
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023