Przejdź do głównej zawartości

UpdateClientInput

Dla: Programista

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

PoleTypOpis
defaultDeliveryMethodDeliveryMethod

How the client's orders are delivered by default. On update, null clears it.

emailString

E-mail address of the client (up to 200 characters). On update, null clears it.

euVatNumberString

EU VAT identification number, for supplies within the EU (up to 20 characters). On update, null clears it.

externalRefString

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 externalRef filter. Only an API key sets it. On update, null removes it.

firstNameString

First name of an individual or a sole proprietor (up to 100 characters). Required, with lastName, for INDIVIDUAL and SOLE_PROPRIETOR. On update, null clears it.

krsString

KRS, the Polish court register number (up to 10 characters). On update, null clears it.

lastNameString

Last name of an individual or a sole proprietor (up to 100 characters). On update, null clears it.

legalNameString

Legal name of a company or a sole proprietorship, as on invoices (up to 200 characters). Required for COMPANY and SOLE_PROPRIETOR. On update, null clears it.

nameShortString

Short name the print shop uses in lists (up to 100 characters). On update, null clears it.

phoneString

Phone number of the client, up to 15 characters: send it without spaces or brackets, for example +48221002030. On update, null clears it.

regonString

REGON, the Polish statistical business number (up to 14 characters). On update, null clears it.

tagIds[ID!]

Identifiers of the tags the client has (clientTags lists them), as a whole set: on update it replaces the current tags and an empty list removes every tag; left out, the tags stay as they are.

taxIdentificationNumberString

Tax identification number (NIP), unique among the print shop's clients (up to 20 characters). Send digits only, for example 5213000001: Prynt stores and finds it as sent, so 521-300-00-01 is another number. Required for COMPANY. On update, null clears it.

typeClientType

Kind of client. Left out, it stays; when you change it, clear the name fields that no longer apply.

Używane w