Create shipping address
Store a new shipping address for the authenticated shopper and optionally set it as default.
Request
Headers
| Header | Type | Description |
|---|---|---|
Authorization | string | Include the shopper token as Bearer <jwt>. |
x-shop-id | string | Scope the request to a specific shop. |
Content-Type | string | Always set to application/json. |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Recipient name for the delivery. |
email | string | No | Contact email for the recipient. |
phone | string | No | Contact phone number for the recipient. |
address | string | Yes | Full street address (geocoded on save). |
city | string | Yes | City where the delivery should be made. |
state | string | Yes | State or province component of the address. |
zipCode | string | Yes | Postal or ZIP code. |
country | string | Yes | ISO 3166-1 alpha-2 country code (e.g. NG, US, GB). |
latitude | number | No | Latitude coordinate for geocoding. |
longitude | number | No | Longitude coordinate for geocoding. |
isDefault | boolean | No | Set to true to make this the default shipping 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
Recipient name for the delivery.
Primary street address.
City component of the address.
State or province component of the address.
Postal or ZIP code.
Country for the address.
Optional phone number for delivery coordination.
Additional address details such as apartment or suite.
Latitude coordinate for mapping purposes.
Longitude coordinate for mapping purposes.
Helpful nearby landmark or delivery instruction.
Set to true to make this the default shipping address.

