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
| Pole | Typ | Opis |
|---|---|---|
buildingNumber | String | Building and apartment number, for example |
city | String | City. Left out, it stays; null is refused. |
closesAt | String | When the place closes, |
country | String | Country, for example |
email | String | E-mail address at the address. On update, null clears it. |
isDefault | Boolean | 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. |
label | String | Own label of the address (up to 100 characters). On update, null clears it. |
name | String | 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. |
nameShort | String | Short name (up to 100 characters). On update, null clears it. |
notes | String | Remarks for deliveries (up to 2000 characters). On update, null clears it. |
opensAt | String | When the place opens, |
phone | String | Phone number at the address (up to 15 characters). On update, null clears it. |
street | String | Street, without the number. Left out, it stays; null is refused. |
type | String | Code of the address type: |
zip | String | Postal code; a Polish one must be |