Shipping Plan vs. Purchase Order

Hello @daniellanger!

Currently, there is no way to query all shipping plans massively as a list.

You can use the following query to retrieve their IDs:

query{
  purchase_orders{
    data{
      edges{
        node{
          legacy_id
        }
      }
    }
  }
}

And then the following one to retrieve the details of each one:

query {
  shipping_plan(id: "string") {
    data {
      id
      legacy_id
      account_id
      warehouse_id
      created_at
      fulfillment_status
      warehouse_note
      vendor_po_number
      subtotal
      shipping_price
      total_price
      shipping_method
      shipping_carrier
      shipping_name
      tracking_number
      origin_of_shipment
      line_items(first: 10) {
        edges {
          node {
            sku
          }
          cursor
        }
      }
    }
  }
}

I’ll pass along the feedback to make a query for shipping plans available in bulk.

Have a great day!
TomasFD.