API Reference
Update customer
/api/v1/customer/{customerId}https://bloquo.mimicr.dev · provider: https://api.bloquo.ioRetrieves full details of a customer, updates mutable fields, or soft-deletes the customer. Deletion requires all associated accounts to have zero balance.
Update restrictions: the following fields are immutable after creation and cannot be changed: taxId (CPF/CNPJ), typeId (customer type), parentId (hierarchy position). Attempting to update them has no effect.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Body
application/jsonLegal name of the customer.
"Acme Corp Ltda"Tax identification number (CPF for individuals, CNPJ for companies).
"12.345.678/0001-90"ISO 3166-1 alpha-2 country code.
"BR"ID of the parent customer. Required, all customers must have a parent.
1ID of the customer type (see GET /api/v1/customer/types).
2Whether the customer is active and allowed to operate.
Important (V1 endpoints only): This field is declared as bool in C# with no explicit default. When omitted from the request body, the runtime initializes it as false, silently creating a disabled customer with no error or warning. This affects POST /api/v1/customer and POST /api/v1/customer/kit only.
The V2 sub-account endpoint (POST /api/v1/subaccount/{parentId}) hardcodes enabled = true and is not affected.
To re-enable a customer created with enabled: false, use: PUT /api/v1/customer/{customerId} with { "enabled": true }.
trueWhether sub-customer users can log in through this customer's portal. Defaults to false.
falseMaximum depth of sub-customers allowed below this customer.
1Bitmask of liquidity operations this customer is allowed to perform. Defaults to SelfLiquidation | ThirdPartyLiquidation (3). Values: None=0, SelfLiquidation=1, ThirdPartyLiquidation=2, LiquidationViaFxPayment=4.
3Bitmask of platform modules enabled for this customer.
7Responses
200Customer updated successfully.
true200Show child attributes
42ID of the customer type (see GET /api/v1/customer/types).
3"Acme Corp Ltda""12.345.678/0001-90""BR"1falseWhether sub-customer users can log in through this customer's portal.
falseCurrent depth of this customer in the hierarchy (root = 0).
11Bitmask of liquidity operations this customer is allowed to perform.
3Bitmask of platform modules enabled for this customer.
7trueCustomer type details. Present only when includes=type is requested.
Show child attributes
1"EndCustomer""admin""admin""2024-01-15T10:30:00Z""2024-01-15T10:30:00Z"