Typ wejściowyUpdateClientInput
What to change in a client: a field left out keeps its value, null clears a field that may be empty. The result must still be a valid client of its kind.
Pola
| Pole | Typ | Opis |
|---|---|---|
defaultDeliveryMethod | DeliveryMethod | How the client's orders are delivered by default. On update, null clears it. |
email | String | E-mail address of the client (up to 200 characters). On update, null clears it. |
euVatNumber | String | EU VAT identification number, for supplies within the EU (up to 20 characters). On update, null clears it. |
externalRef | String | Your own identifier of the client, for example its id in your CRM or web shop (1 to 100 characters). Unique within your integration and visible only to it; find the client by it with the |
firstName | String | First name of an individual or a sole proprietor (up to 100 characters). Required, with |
krs | String | KRS, the Polish court register number (up to 10 characters). On update, null clears it. |
lastName | String | Last name of an individual or a sole proprietor (up to 100 characters). On update, null clears it. |
legalName | String | Legal name of a company or a sole proprietorship, as on invoices (up to 200 characters). Required for |
nameShort | String | Short name the print shop uses in lists (up to 100 characters). On update, null clears it. |
phone | String | Phone number of the client, up to 15 characters: send it without spaces or brackets, for example |
regon | String | REGON, the Polish statistical business number (up to 14 characters). On update, null clears it. |
tagIds | [ID!] | Identifiers of the tags the client has ( |
taxIdentificationNumber | String | Tax identification number (NIP), unique among the print shop's clients (up to 20 characters). Send digits only, for example |
type | ClientType | Kind of client. Left out, it stays; when you change it, clear the name fields that no longer apply. |