Przejdź do głównej zawartości

CreateClientInput

Dla: Programista

Typ wejściowyCreateClientInput

A new client: a company, a sole proprietorship or an individual. Which name fields are required follows from type.

Pola

PoleTypOpis
buildingNumberString

Building and apartment number of the headquarters address, for example 12A/3.

cityString

City of the headquarters address. Prynt saves the headquarters address with the client when city, street and zip are all given.

countryString

Country of the headquarters address (Polska when not given).

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.

streetString

Street of the headquarters address, without the number.

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: COMPANY (the default), SOLE_PROPRIETOR or INDIVIDUAL. It decides which name fields are required.

Domyślnie: COMPANY

zipString

Postal code of the headquarters address; a Polish one is stored as 00-000.

Używane w