HI All,
We have a Admin Website for our company where we are pulling the orders and customer information from the Shopify Admin. But the issue is the order has some removed items which i can see in shopify admin but in the API call i see all the items even the removed items. These are not distinguished or removed . Any help.
Here is the order line item api response
- allSamples: false
- billing_address_formatted: {name: “Eric Stanton”,…}
- billling_address_matches_shipping_address: true
- canCapture: false
- canMarkAsPaid: true
- capturable: 0
- cartDiscount: 0
- closed: false
- created_at: 1644935602000
- customer: {id: “5209448349789”, displayName: “Eric Stanton”, email: “eric@sudsbox.com”,…}
- discounts: 0
- draft_id: “859191378013”
- draft_name: “D5147”
- events: [{id: “gid://shopify/BasicEvent/80359898087517”, createdAt: 1645102921000, attributeToUser: true,…},…]
- financial_status: “PENDING”
- fulfillment_status: “UNFULFILLED”
- fulfillments: [{id: null, status: “CANCELLED”, created_at: 1644935614000, order_id: null, delivered_at: null,…}]
- id: “4213369700445”
- line_items: [,…]
- metafields:
- name: “S17334”
- next: “4213476196445”
- note: “Net30: Sutherland Packaging\nPO# Verbal Eric Stanton\n\nQuote 11862\n\nItem: Digital Sheet (48” x 47.25”)\nStyle: Print Only Sheet\nSize: 48” x 47.25”\nMaterial: 200 B Kemi/Kraft\nPrint Variations: 2\nPrinting: Digital Aqueous 4CP Direct Print + Aqueous OPV (1-Side Print)\nFinishing: Corner Board/Band\n\n\nProduction timing 5-6 business days from proof approval\n\nNeed physical samples first ASAP”
- note_attributes:
- order_number: 17334
- previous: “4213343092829”
- processed_at: 1644935602000
- properties: {requiresShipping: true, draft: true, requiresProofing: false}
- refundable: false
- refunded: 0
- shipping_address_formatted: {name: “Eric Stanton”,…}
- shipping_lines: [{title: “FOB (plant) – TBD – To be invoiced upon completion”, price: 0, discounted_price: 0,…}]
- status: {RECEIVED: “02/15/2022 02:33 PM”}
- subtotal_price: 74106.6
- total_price: 74106.6
- total_shipping: 0
- total_tax: 0
- transactions: [,…]
- updated_at: 1645102921000