Amili Docs
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. Customers
  • About
  • ARM API
    • Health
      • Check API health
    • ArItems
      • Get one AR item
      • Get a list of AR items
      • Put (update) ar item details
    • Documents
      • Get one document
      • POST (create) a batch of documents
      • POST (create) one document
      • Get a list of documents
    • AutoPostings
      • POST (create) one or more auto postings
    • GlItems
      • Get one GL item
      • Get a list of GL items
    • Customers
      • Get one customer
        GET
      • Delete a customer
        DELETE
      • POST (create) a batch of customers
        POST
      • PUT (update) a batch of customers
        PUT
      • PUT (update) one customer
        PUT
      • GET a list of customers
        GET
      • POST (create) one customer
        POST
    • Batches
      • Get one batch
    • PaymentReservations
      • Creates a new payment reservation
    • Files
      • POST (upload) one or more OS files
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. Customers

Delete a customer

DELETE
/clients/{clientno}/customers/{customerno}
Delete a customer. Only allowed if the customer has no documents or AR items attached

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Query Params

Responses

🟢200OK
application/json
OK. The request succeeded
Body

🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠422Unprocessable Entity
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/clients//customers/?options' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Customer deleted
{
    "status": "PROCESSED",
    "result": "DELETED",
    "message": "Customer deleted",
    "clientNo": 2218,
    "accountNo": 500002,
    "customerNo": "543210"
}
Modified at 2025-09-29 16:08:55
Previous
Get one customer
Next
POST (create) a batch of customers
Built with