Customer (Account) Endpoints

Operations

Method Route Docs Auth
GET Customer/Get/{customerCode} Get Authorize
GET Customer/GetByAccountId/{accountId} GetByAccountId Authorize
POST Customer/Create Create Authorize
PUT Customer/Update/{customerCode} Update Authorize

Scoping And Permissions

The customer/account is the top-level account record. These endpoints expose only a safe profile projection and enforce strict permission scoping.

A Note On accountId

The source ticket references lookup by accountId. There is no separate accountId column on the Customer table today, so accountId aliases the customer code (Code, the primary key). GetByAccountId therefore behaves identically to Get.