Create Address
Saves an address. An account can keep up to 20.
Keys: public key or secret key.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
identitystring
The identity for the active workspace.
Headers
channel
shopper-token
The token returned when the shopper signed in. Treat it as a secret: never put it in a URL or a log.
Request
This endpoint expects an object.
name
Label or recipient.
line1
First address line.
line2
city
state
postal_code
country_code
ISO 3166-1 alpha-2 code.
phone
is_default
Make this the default address. The first address saved is always the default.
area
Neighbourhood or area the store delivers to, as listed in Get Delivery Areas (for example Lekki). Delivery options are matched on it.
landmark
Directions for the rider, for example Opposite the Total filling station.
Response
Successfully saved address
status
Always true on success.
message
Human-readable outcome.
data
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
422
Unprocessable Entity Error

