Available queries
Associated query | Returns multiple results |
---|---|
StockMovement | |
StockMovements | ✔️ |
Available fields
Label | Type | Notes | Null |
---|---|---|---|
arrival_location | Location | The arrival location of the displaced stock | |
changed | Date | The date of the stock movement's last modification | |
created | Date | The date of the stock movement's creation | |
external_reference | string | The external reference of this document | ✔️ |
id | integer | The id of the document | |
label | string | The order number of this specific stock movement. Automatically generated | |
line_items | Line items | The line items of the document | |
location | Location | The location used in the document | |
notes | string | Notes about this document that you AND the customer will see | ✔️ |
sales_order | Sales order | The sales order linked to this document | ✔️ |
stock_movement_status | string | The status of this stock_movement ("completed", "cancelled", "pending") | |
total_units | decimal(17,7) | The total units of this order | |
user | User | The 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
}
}
}
}
}