4.2 Create address

POST {{protocol}}://{{host}}/api/addresses

Request Body

{"data"=>{"type"=>"addresses", "attributes"=>{"first_name"=>"{{$randomFirstName}}", "last_name"=>"{{$randomLastName}}", "company"=>"", "line_1"=>"641 W 51st St", "line_2"=>"", "city"=>"New York", "zip_code"=>"10019", "state_code"=>"NY", "country_code"=>"US", "phone"=>"5553333333"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring