Create an address
Adds a new address to the customer address book
POST
Spree SDK
Authorizations
Publishable API key for store access
JWT token for authenticated customers
Body
application/json
Example:
"John"
Example:
"Doe"
Example:
"123 Main St"
Example:
"New York"
Example:
"10001"
ISO 3166-1 alpha-2 country code (e.g., "US", "DE")
Example:
"US"
Example:
"Apt 4B"
Example:
"+1 555 123 4567"
Example:
"Acme Inc"
ISO 3166-2 subdivision code without country prefix (e.g., "CA", "NY")
Example:
"NY"
State name - for countries without predefined states
Example:
"New York"
Set as default billing address
Example:
true
Set as default shipping address
Example:
true
Response
address created
Spree SDK

