Sign in

Create an address

documented

Creates a new address for a user in the platform.

POST /api/v2/platform/addressesAddressesno implementation yet0 runs

Input

host*
Base API host (no scheme)
{{host}}
country_id*
Country ID
{{country_id}}
address1*
Address line 1
{{address1}}
city*
City
{{city}}
zipcode*
ZIP / Postal code
{{zipcode}}
phone*
Phone
{{phone}}
firstname*
First name
{{firstname}}
lastname*
Last name
{{lastname}}
state_id*
State/Province ID
{{state_id}}
state_name*
State/Province name
{{state_name}}
address2
Address line 2
{{address2}}
alternative_phone
Alternative phone
{{alternative_phone}}
label
Label / nickname
{{label}}
company
Company
{{company}}
user_id
User ID
{{user_id}}
distance_from_nearest_city_in_km
Distance from city (km)
{{distance_from_nearest_city_in_km}}
location_type
Location type (public metadata)
{{location_type}}
close_to_shop
Close to shop (private metadata)
{{close_to_shop}}
Calls Spree Commerce as you (your API key is your account); keychains.dev holds the credentials.
Create an address · Spree Commerce · OpenIntegrations