Create address

POST https://{{queries_url}}.envia.com/user-address

Get all the addresses that you saved.

There are 2 types of addresses, destination and origin.

Request Body

{"type"=>1, "category_id"=>1, "name"=>"Oscar Gomez", "company"=>"My Company", "email"=>"no_reply@envia.com", "phone"=>"8111111111", "street"=>"my street", "number"=>"100", "district"=>"my neighborhood", "city"=>"my city", "state"=>"NL", "country"=>"MX", "postal_code"=>"66236", "reference"=>"my references"}

RESPONSES

status: OK

{"id":1}