Typ obiektowyOrder
A client's order at the print shop: the products to make, for whom, when and how to deliver them, and how the order is paid.
Pola
| Pole | Typ | Opis |
|---|---|---|
additionalCosts | [AdditionalCost!] | Additional costs of the order, on the order itself and on its products, by position. An empty list (never null) when there are none. |
additionalCostsTotal | Float | Sum of the net amounts of all additional costs of the order, in the order currency. 0 (never null) when there are none. Wymaga zakresu |
archived | Boolean! | True when the order was moved to the archive (only received or cancelled orders). An archived order cannot be changed, and neither can anything inside it: its products, costs, payments and files. |
billingEntityId | ID | Identifier of the print shop's billing entity that invoices the order; null while none is chosen. |
client | Client | Client associated with this order. Wymaga zakresu |
clientId | ID! | Identifier of the client (the print shop's customer) the order is for. |
completionDate | DateTime | When the order is due to be completed (date and time). Null when not agreed yet. |
contact | OrderContact | Person to contact about the order; null when none was entered. |
createdAt | DateTime! | When the order was created. |
currencyId | ID | Identifier of the order currency, in which the order's prices, costs and payments are expressed. Null on older orders, which are in the print shop's home currency. |
deliveries | [OrderDelivery!] | Delivery addresses, in their order; empty for pickup or before the address is known. |
displayId | String! | Order number people use in Prynt and on documents, for example |
exchangeRate | Float | Exchange rate from the order currency to the print shop's home currency, fixed when the currency was set (1 for the home currency). Null on older orders. Wymaga zakresu |
files | [File!] | Files attached to the order itself (files of its products are on Wymaga zakresu |
id | ID! | Identifier of the order (UUID). |
invoice | OrderInvoice | Billing details to put on the invoice; null when none were entered. |
isDeadline | Boolean | True when |
paymentDueDate | DateTime | Day by which the client should pay (UTC midnight of that day); null when not set. |
paymentMethod | PaymentMethod | How the client pays; null while not chosen. |
paymentStatus | PaymentStatus! | Where payment of the order stands. |
payments | [OrderPayment!] | Payments received for the order, latest payment date first. An empty list (never null) when nothing was paid yet. |
production | ProductionProgress! | How far production of the order has got: the roll-up of the operations of all its products and elements. Wymaga zakresu |
products | [Product!] | Products of the order, by their number within the order. An empty list (never null) when the order has none yet. |
source | OrderSource! | Channel the order came in through. |
status | OrderStatus! | Stage of the order. Prynt moves it forward with production; see |
totalPackages | Int! | Number of packages the whole order ships in (0 when none). |
totalPallets | Int! | Number of pallets the whole order ships on (0 when none). |
transportMethod | TransportMethod! | How the order reaches the client. |
transportPrice | Float | Net price of transport in the order currency; null when not charged separately. Wymaga zakresu |
updatedAt | DateTime! | When the order or anything inside it (products, their elements and operations, payments, additional costs, files, contact, deliveries, invoice data) last changed, including every status change of the production tasks of its operations (one created, started, paused, resumed, completed or cancelled). Writing back the same values does not move it. Filter on it with |