Przejdź do głównej zawartości

ClientAddressInput

Dla: Programista

Typ wejściowyClientAddressInput

A new address of a client: type, name, city, street, zip and country are required.

Pola

PoleTypOpis
buildingNumberString

Building and apartment number, for example 12A/3 (up to 20 characters). On update, null clears it.

citywymaganeString!

City.

closesAtString

When the place closes, HH:mm. On update, null clears it.

countrywymaganeString!

Country, for example Polska.

emailString

E-mail address at the address. On update, null clears it.

isDefaultBoolean

True makes it the default address of its type (the previous default one stops being it). False when not given on create; left out on update keeps it.

labelString

Own label of the address (up to 100 characters). On update, null clears it.

namewymaganeString!

Name at the address: the company or the person goods go to (up to 255 characters). Unique among the addresses of the client.

nameShortString

Short name (up to 100 characters). On update, null clears it.

notesString

Remarks for deliveries (up to 2000 characters). On update, null clears it.

opensAtString

When the place opens, HH:mm. On update, null clears it.

phoneString

Phone number at the address (up to 15 characters). On update, null clears it.

streetwymaganeString!

Street, without the number.

typewymaganeString!

Code of the address type: HEADQUARTERS, DELIVERY, WAREHOUSE, BILLING, OTHER, or a code the print shop added. An unknown code is refused.

zipwymaganeString!

Postal code; a Polish one must be 00-000 (00000 is accepted and stored as 00-000).

Używane w