Przejdź do głównej zawartości

UpdateClientAddressInput

Dla: Programista

Typ wejściowyUpdateClientAddressInput

What to change in an address: a field left out keeps its value; null clears an optional field and is refused for type, name, city, street, zip and country.

Pola

PoleTypOpis
buildingNumberString

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

cityString

City. Left out, it stays; null is refused.

closesAtString

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

countryString

Country, for example Polska. Left out, it stays; null is refused.

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.

nameString

Name at the address: the company or the person goods go to (up to 255 characters). Unique among the addresses of the client. Left out, it stays; null is refused.

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.

streetString

Street, without the number. Left out, it stays; null is refused.

typeString

Code of the address type: HEADQUARTERS, DELIVERY, WAREHOUSE, BILLING, OTHER, or a code the print shop added. An unknown code is refused. Left out, it stays; null is refused.

zipString

Postal code; a Polish one must be 00-000 (00000 is accepted and stored as 00-000). Checked against the country after the change. Left out, it stays; null is refused.

Używane w