Entities Address Service

Back

Overview

The Entities Address Service manages addresses associated with entities (customers or suppliers). Addresses can be used for billing, shipping, or general contact purposes.

Each entity address includes:

Soft delete is supported — deleted addresses have IsDeleted = true and a DeletedAt timestamp rather than being physically removed.

All operations are tenant-aware and audited.


Endpoints

Back to Entities

GET

/api/v1/EntityAddresses/{id}

Returns a single address by its ID.

Route parameters:

Behavior:

Response:

Authorization:


GET

/api/v1/EntityAddresses/entity/{entityId}

Returns all addresses for a specific entity.

Route parameters:

Behavior:

Response:

Authorization:


POST

/api/v1/EntityAddresses

Creates a new entity address.

Request body (AddressModel):

Behavior:

Response:

Authorization:


PUT

/api/v1/EntityAddresses/{id}

Updates an existing entity address.

Route parameters:

Request body (AddressModel):

Behavior:

Response:

Authorization:


DELETE

/api/v1/EntityAddresses/{id}

Soft-deletes an entity address by its ID.

Route parameters:

Behavior:

Response:

Authorization:


Notes