Available queries
Associated query | Returns multiple results |
---|---|
ShippingOrder | |
ShippingOrders | ✔️ |
Available fields
Label | Type | Notes | Null |
---|---|---|---|
account_manager | Account manager | The account manager associated to this document | ✔️ |
changed | Date | The date of the shipping order's last modification | |
created | Date | The date of the shipping order's creation | |
created_from | Sales Order | The sales order this document was created from | |
customer | Customer | The customer this document is addressed to | ✔️ |
external_reference | string | The external reference of this document | ✔️ |
for_the_attention_of | string | The person this document is addressed to | ✔️ |
id | integer | The id of the document | |
internal_notes | string | Notes about this document that only you will see | ✔️ |
invoices_created | Invoices | The invoices created from this document | ✔️ |
label | string | The order number of this specific shipping order. 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 | ✔️ |
published_to_shopify | boolean | Indicates if the sales order is published to shopify | |
season | Season | The season used int this document | ✔️ |
shipping_date | DateNoHour | The date of shipping | ✔️ |
shipping_order_status | string | The status of the document ("pending", "in_preparation", "ready_to_ship", "make_the_shipment", "shipped", "delivered", "cancelled") | |
ship_to | Address | The shipping address | ✔️ |
terms_and_conditions | string | The terms and condition of this document | ✔️ |
total_units | decimal(17,7) | The total units of this order | |
user | User | The user who created this order |
Example of a query
query{
ShippingOrders{
edges{
node{
account_manager{
id
}
changed
created
created_from{
id
}
customer{
id
}
external_reference
for_the_attention_of
id
internal_notes
invoices_created{
edges{
node{
id
}
}
}
label
line_items{
edges{
node{
id
}
}
}
location{
id
}
notes
season{
label
}
shipping_date
shipping_order_status
ship_to{
country
}
terms_and_conditions
total_units
user{
display_name
}
}
}
}
}
Update notes and status of the shipping order
mutation {
ShippingOrderUpdate(
id: 1
notes: "Please ship this order before the end of the year."
status: "make_the_shipment"
) {
id
label
}
}