MONEI / Shopify-api-node

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

IFulfillmentLineItem is missing several params #655

Closed Dmi3Dev closed 4 months ago

Dmi3Dev commented 4 months ago

Hi, great lib, just started building first app with it and encountered that IFulfillmentLineItem is missing some params that exist in IOrderLineItem and I do have Orders that indeed have these params with data in IFulfillmentLineItem. I'll update this thread as I find more, but so far I found:

discount_allocations
pre_tax_price
pre_tax_price_set

With discount_allocations I can just overwrite the type locally. Data I receive while fetching it with the shopify-api-node is still received fine. However pre_tax_price (and set) for some reason is not received when fetching with shopify-api-node, but I do receive it, when fetching using raw shopify api endpoint. Also these params behave the same for IOrderLineItem.

I hope you'll be able to look into it. Thank you.

Dmi3Dev commented 4 months ago

looks like you can ignore

pre_tax_price
pre_tax_price_set

looks like shopify simply removed it from the data. I now cannot even fetch it from raw url anymore as well.