AlmondTill/G3N API

ConsumerAddressInput

input type

Address-book entry input for a Consumer — a supplied book replaces the stored one wholesale (the Role-descriptors list-is-the-payload semantic).

Fields

FieldTypeRequiredNotes
line1String String!yesStreet address, first line.
line2StringnoSecond address line — apartment, suite or floor. Optional.
cityString String!yesCity or town.
regionStringnoState, province or prefecture. Optional.
postalCodeStringnoPostal or ZIP code. Optional.
countryCodeString String!yesISO 3166-1 alpha-2 country code (uppercase).
addressTypeString String!yesshipping | billing | both.
isDefaultShippingBooleannoWhether orders ship to this address unless another is chosen — at most one per shopper, on an address used for shipping.
isDefaultBillingBooleannoWhether bills go to this address unless another is chosen — at most one per shopper, on an address used for billing.