Orders
Object
OrderActivityGeneralComment
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
type |
The type of activity that was performed |
|
|
comment |
String! |
The comment that was made |
Object
OrderActivityLineComment
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
type |
The type of activity that was performed |
|
|
product |
The product that was commented on |
|
|
comment |
String! |
The comment that was made |
Object
OrderActivityOrderDetailUpdate
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
type |
The type of activity that was performed |
|
|
detail |
String! |
The detail that was changed (in a human readable format) |
|
old |
String! |
The value the detail was changed from |
|
new |
String! |
The value the detail was changed to |
Object
OrderActivityOrderLineUpdate
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
type |
The type of activity that was performed |
|
|
product |
The product that was modified on the order |
|
|
old |
What the order line was before changes were applied, this is a partial view of the |
|
|
new |
What the order line became after the changes were applied, this is a partial view of the |
Object
OrderActivityReviewAttachmentRemoved
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
type |
The type of activity that was performed |
|
|
attachment |
String! |
The file that have been removed from the order review |
Object
OrderActivityReviewAttachmentsAdded
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
type |
The type of activity that was performed |
|
|
attachments |
[String] |
The list of file names that have been attached to the order review |
Object
OrderActivityReviewStatusUpdate
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
type |
The type of activity that was performed |
|
|
status |
The status that the review changed to |
Object
OrderActivityReviewerStatusRemoved
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
type |
The type of activity that was performed |
Object
OrderActivityReviewerStatusUpdate
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
type |
The type of activity that was performed |
|
|
status |
The status applied to the review by the reviewer |
Object
OrderActivity
| Fields | Type | Description |
|---|---|---|
|
user |
The user who performed the activity |
|
|
content |
The content of the activity |
|
|
processTime |
The time the activity was performed |
Object
OrderProduct
| Fields | Type | Description |
|---|---|---|
|
caseQuantity |
Float! |
The case quantity on the order |
|
orderedQuantity |
Float! |
The quantity that was ordered |
|
receivedQuantity |
Float! |
The quantity that was received |
|
baseCost |
Float! |
The base cost for the product |
|
orderedCost |
Float |
The base cost for when the product was ordered |
|
fees |
Float! |
The fees assigned to the product |
|
freight |
Float! |
The freight assigned to the product |
|
paymentFees |
Float! |
The payment fees assigned to the product |
|
rebate |
Float! |
The rebate assigned to the product |
|
supplier |
The supplier for the product (used when there is no from supplier) |
|
|
supplierCode |
String! |
The supplier code for the product |
|
itemsPerWeek |
Float |
The number of items sold per week (only for generated orders) |
|
item |
The current product |
Object
OrderReceiveResults
| Fields | Type | Description |
|---|---|---|
|
review |
Returns a review if one was created instead of actioning the order |
|
|
order |
The order that was actioned |
Object
OrderReview
| Fields | Type | Description |
|---|---|---|
|
id |
The ID of the review |
|
|
status |
The status of the review |
|
|
orderStatus |
The status of the order this review is for moving to |
|
|
createdBy |
The user who created the review |
|
|
createdAt |
The time the review was created |
|
|
reviewers |
A list of users who are reviewing this order |
|
|
attachments |
The attachments on the order review |
|
|
order |
The order that this order review is attached to |
|
|
activity |
The activity which has occurred since the order entered the review phase |
OrderReviewOrderActivityConnection
Object — ConnectionType of OrderActivity
Sortable Fields
Fields from OrderActivity that can be used to sort the connection items
- timestamp
| Arguments | Type | Description |
|---|---|---|
|
types |
Filters the type of activities returned |
Object
OrderReviewer
| Fields | Type | Description |
|---|---|---|
|
user |
The user who is performing the review |
|
|
status |
The status of who the reviewer views the current review |
Object
OrderSendResults
| Fields | Type | Description |
|---|---|---|
|
review |
Returns a review if one was created instead of actioning the order |
|
|
orders |
The orders that were actioned |
Object
Order
Implements
List of interfaces this object implements
| Fields | Type | Description |
|---|---|---|
|
id |
The ID of the order |
|
|
type |
The type of order |
|
|
status |
The status of the order |
|
|
completed |
Boolean |
Whether the order has been completed or not |
|
undergoingReview |
Boolean! |
Whether the order is currently undergoing review |
|
to |
Who the order is to |
|
|
from |
Who the order is from |
|
|
orderDate |
The date for the order |
|
|
dueDate |
The date the order is due to be received or for payment |
|
|
enteredAs |
How the costs should be displayed on the order page (Does not represent how the cost values are actually stored) |
|
|
invoiceNumber |
String! |
The order number or invoice number for the order |
|
reference |
String! |
The reference for the order |
|
notes |
String |
Any public notes relating to the order |
|
internalNotes |
String! |
Any internal notes relating to the order |
|
includeFreight |
Boolean! |
Whether the total cost of the order includes freight |
|
totalCost |
Float |
The total cost of the order |
|
lineCount |
Float |
The total number of lines on the order |
|
expectedTotal |
Float |
The expected total for the order |
|
feePercentage |
Float |
The order fee percentage |
|
createdAt |
The date and time the order was created |
|
|
sentAt |
The date and time the order was sent |
|
|
receivedAt |
The date and time the order was received |
|
|
createdBy |
The user who created the order |
|
|
sentBy |
The user who sent the order |
|
|
receivedBy |
The user who received the order |
|
|
mergedInto |
Get the order that this is merged into |
|
|
products |
The products on the order |
|
|
productConnection |
The list of products on the order |
|
|
backorderedProducts |
The products which were on backorder for this order |
|
|
reviews |
A list of reviews that have occurred for this order |
|
|
review |
Retrieve details about a specific review for an order |
|
|
attachments |
The attachments on the order |
OrderOrderProductConnection
Object — ConnectionType of OrderProduct
Sortable Fields
Fields from OrderProduct that can be used to sort the connection items
- name
- createdAt
- updatedAt
| Arguments | Type | Description |
|---|---|---|
|
id |
The ID of the product to return (used for filtering the products) |