Customer Profiles
Default commercial terms catalog applied to customers (PerfilCliente).
ποΈ Get customer profile by ID
Returns a single customer profile by its primary key.
ποΈ Update customer profile
Full replacement of an existing customer profile. Send the `If-Match` header for optimistic concurrency (accepted but ignored ΓΓΓΆ not versioned).
ποΈ Delete customer profile
Deletes a customer profile. Send the `If-Match` header with the current ETag (accepted but ignored ΓΓΓΆ not versioned).
ποΈ Merge-patch customer profile
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 customer profiles
Returns a paginated list of customer profiles with envelope `{data, totalCount, skip, limit, hasMore}`. Supports optional RSQL `filter`, `sort` (default `name:asc`), `skip`/`limit` pagination and `modifiedAfter`/`modifiedBefore` bookends.
ποΈ Create customer profile
Creates a new customer profile. Business logic runs in the legacy WAR.
ποΈ Bulk delete customer profiles
Removes every id in `ids` as a single all-or-nothing transaction.
ποΈ Bulk patch customer profiles
Applies the same `patch` to every id in `ids` as a single all-or-nothing transaction. Editable fields: `enabled`, `allowsCredit`, `isInsurer`, `isSupplier`, `isCorporateDivision`.
ποΈ Prototype customer profile for a creation form
Returns a non-persisted customer profile pre-populated with backend defaults (`enabled=true`, current company, next `code`, empty `name`). Optional JSON hints: `companyId`, `copyFromId`. Call `POST /api/v2/customer-profiles` afterwards to persist.