Skip to main content
POST
Create shipping address

Request

Headers

Body parameters

Successful response

Error response

Authorizations

Authorization
string
header
required

JWT issued by the Salesive Store API for authenticated shoppers.

x-shop-id
string
header
required

Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.

Headers

x-shop-id
string

Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.

Body

application/json
fullName
string
required

Recipient name for the delivery.

street
string
required

Primary street address.

city
string
required

City component of the address.

state
string
required

State or province component of the address.

zipCode
string
required

Postal or ZIP code.

country
string
required

Country for the address.

phone
string

Optional phone number for delivery coordination.

street2
string

Additional address details such as apartment or suite.

latitude
number

Latitude coordinate for mapping purposes.

longitude
number

Longitude coordinate for mapping purposes.

landmark
string

Helpful nearby landmark or delivery instruction.

isDefault
boolean

Set to true to make this the default shipping address.

Response

Shipping address saved successfully.

status
integer
required
success
boolean
required
message
string
required
data
object
required