Add a shipping address
User
Add shipping address
Add a new shipping address to the authenticated shopper’s address book.
POST
Add a shipping address
Request
Body parameters
| Field | Type | Description |
|---|---|---|
name | string | Required. Recipient name (2–100 chars). |
phone | string | Required. Contact phone (6–30 chars). |
email | string | Optional. Recipient email. |
address | string | Optional. Street address. |
city | string | Optional. |
state | string | Optional. |
zipCode | string | Optional. |
country | string | Optional. |
latitude | number | Optional. -90 to 90. |
longitude | number | Optional. -180 to 180. |
landmark | string | Optional. |
isDefault | boolean | Optional. Make this the default address. |
Successful response
Error response
Authorizations
JWT issued by the Salesive Store API for authenticated shoppers.
Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Body
application/json
Example:
"Jane Smith"
Example:
"+2348099887766"
Example:
"jane@example.com"
Example:
"12 Marina Road"
Example:
"Lagos"
Example:
"Lagos"
Example:
"100001"
Example:
"Nigeria"
Example:
6.5244
Example:
3.3792
Example:
false
Response
Address added.
The response is of type object.

