MONEI / Shopify-api-node

Node Shopify connector sponsored by MONEI
https://monei.com/shopify-payment-gateway/
MIT License
945 stars 278 forks source link

currentQuantity field is missing in IOrderLineItem type #545

Closed JSsantana closed 2 years ago

JSsantana commented 2 years ago

I found that Order Line Item interface do not have the currentQuantity field.

interface IOrderLineItem

LineItem. currentQuantity Int! non-null The line item's quantity, minus the removed quantity.

https://shopify.dev/api/admin-graphql/2022-07/objects/LineItem

lpinca commented 2 years ago

Feel free to open a PR to add it.

lpinca commented 2 years ago

On second look, the documentation you linked is for the GraphQL API. I can't see the currentQuantity field in the Order line_items of the REST API.

I'm closing this. Discussion can continue if needed.