Customers
Create, read, update and delete customers (clientes / terceros)
📄️ Get customer by ID
Returns a single customer by its primary key.
📄️ Update customer
Full replacement of an existing customer. Send the `If-Match` header with the current ETag for optimistic concurrency control.
📄️ Delete customer
Deletes a customer. Send the `If-Match` header with the current ETag for optimistic concurrency control.
📄️ Merge-patch customer
RFC 7396 merge-patch over `application/merge-patch+json`. Send only the fields you want to change; include a field with value `null` to remove it. Use the `If-Match` header for optimistic concurrency control.
📄️ List customers
Returns a paginated list of customers with envelope `{data, totalCount, skip, limit, hasMore}`. Supports optional RSQL `filter`, `sort` (default `lastModifiedAt:desc`), `skip`/`limit` pagination and `modifiedAfter`/`modifiedBefore` bookends. Limit is capped at 200; skip is clamped to >= 0.
📄️ Create customer
Creates a new customer (tercero). Business logic runs in the legacy WAR via the internal commands gateway.