Available queries

Associated queryReturns multiple results
StockMovement
StockMovements✔️

Available fields

LabelTypeNotesNull
arrival_locationLocationThe arrival location of the displaced stock
changedDateThe date of the stock movement's last modification
createdDateThe date of the stock movement's creation
external_referencestringThe external reference of this document✔️
idintegerThe id of the document
labelstringThe order number of this specific stock movement. Automatically generated
line_itemsLine itemsThe line items of the document
locationLocationThe location used in the document
notesstringNotes about this document that you AND the customer will see✔️
sales_orderSales orderThe sales order linked to this document✔️
stock_movement_statusstringThe status of this stock_movement ("completed", "cancelled", "pending")
total_unitsdecimal(17,7)The total units of this order
userUserThe user who created this order

Example of a query

query{
  StockMovements{
    edges{
      node{
        arrival_location{
          id
        }
        changed
        created
        external_reference
        id
        label
        line_items{
          edges{
            node{
              id
            }
          }
        }
        location{
          id
        }
        notes
        sales_order{
          id
        }
        stock_movement_status
        total_units
        user{
          display_name
        }
      }
    }
  }
}