Typ wejściowyUpdateOrderInput
Changes to an order: fields left out keep their values. An archived order cannot be changed.
Pola
| Pole | Typ | Opis |
|---|---|---|
billingEntityId | ID | Identifier of the print shop's billing entity that invoices the order. |
clientId | ID | Identifier of the client (the print shop's customer) the order is for. The client must exist in Prynt, and an API key cannot order for a client the print shop has blocked from ordering or deactivated. |
completionDate | String | When the order is due to be completed: an ISO 8601 date-time, or a date meaning midnight UTC at its start. |
contact | OrderContactInput | Person to contact about the order, as a whole: fields left out are empty. On a changed order it replaces the saved contact; left out, the saved contact stays. |
currencyId | ID | Identifier of the order currency. Setting it fixes |
deliveries | [OrderDeliveryInput!] | Delivery addresses, in the order to list them. On a changed order they replace all saved addresses (an empty list removes them, for example for pickup); left out, the saved addresses stay. |
invoice | OrderInvoiceInput | Billing details for the invoice, as a whole: fields left out are empty. On a changed order they replace the saved details; left out, the saved details stay. |
isDeadline | Boolean | True when |
paymentDueDate | String | Day by which the client should pay, as an ISO 8601 date. |
paymentMethod | PaymentMethod | How the client pays. |
paymentStatus | PaymentStatus | Where payment of the order stands. Left out: |
status | OrderStatus | New status of the order. Allowed: |
totalPackages | Int | Number of packages the whole order ships in, 0 or more. |
totalPallets | Int | Number of pallets the whole order ships on, 0 or more. |
transportMethod | TransportMethod | How the order reaches the client. Left out: |
transportPrice | Float | Net price of transport in the order currency, 0 or more; leave it out when not charged separately. |