CorebanqCorebanq Developer Docs
Addressesv1

Create new address

POST/v1/addresses

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/addresses" \  -H "Content-Type: application/json" \  -d '{    "rec_id": "0ba687c4-349e-490d-969f-fd374e232d42",    "rec_type": "customer",    "type": "registration",    "street": "string",    "postal_code": "string",    "city": "string",    "country": "st"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "rec_id": "0ba687c4-349e-490d-969f-fd374e232d42",
  "rec_type": "string",
  "type": "string",
  "street": "string",
  "number": "string",
  "additional": "string",
  "postal_code": "string",
  "city": "string",
  "state": "string",
  "country": "string",
  "is_primary": true,
  "metadata": {},
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}