Available queries
Associated query | Returns multiple results |
---|---|
StockRemoval | |
StockRemovals | ✔️ |
Available fields
Label | Type | Notes | Null |
---|---|---|---|
changed | Date | The date of the stock removal's last modification | |
created | Date | The date of the stock removal'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 removal. 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 | ✔️ |
stock_removal_status | string | The status of this stock removal ("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{
StockRemovals{
edges{
node{
changed
created
external_reference
id
label
line_items{
edges{
node{
id
}
}
}
location{
id
}
notes
stock_removal_status
total_units
user{
display_name
}
}
}
}
}