Generate Reports weekly

I would like to run an automated reporting script for various reports within shiphero. Is it possible to get the ‘Sales By Sku’ or ‘Inventory Change Log’ etc via api?

@JFurr you can usse the inventory_changes query

query {
  inventory_changes {
    request_id
    complexity
    data(first: 20) {
      edges {
        node {
          reason
          location {
            id
            name
            zone
          }
          warehouse_id
          previous_on_hand
          change_in_on_hand
          previous_on_hand
	   cycle_counted
 	   created_at
          sku
        }
      }
    }
  }
}

If don’t have a DS (dynamic slotting account) avoid the location field.

@seba can you give a query for the “Sales By Sku” report as well?

I’m afraid we dont have that yet