query {
purchaseOrders(
since: 1 //int
limit: 1 //int
created_at: "string" //filter POs created in this day (format Y-m-d H:i:s) - eg: 2023-02-10 20:20:20
from_created_at: "string" //filter POs create after this day (format Y-m-d H:i:s) - eg: 2023-02-10 20:20:20
to_created_at: "string" //filter POs create before this day (format Y-m-d H:i:s) - eg: 2023-03-10 20:20:20
updated_at: "string" //filter POs updated in this day (format Y-m-d H:i:s) - eg: 2023-02-10 20:20:20
from_updated_at: "string" //filter POs update after this day (format Y-m-d H:i:s) - eg: 2023-02-10 20:20:20
to_updated_at: "string" //filter POs update before this day (format Y-m-d H:i:s) - eg: 2023-03-10 20:20:20
) {
purchase_order_id
purchase_code
po_date
expected_date
currency
supplier_id
supplier_name
ship_to_name
ship_to_address
discount_label
discount_amount
tax_label
tax_amount
shipping_label
shipping_amount
status
created_at
updated_at
items {
purchase_order_product_id
product_id
variant_id
inventory_item_id
product_name
product_sku
product_supplier_sku
variant_name
product_image
variant_image
qty_ordered
qty_received
cost
sales_price
}
}
}