beel_update_payment_connection
Update the auto-invoicing settings of a payment connection you own or manage, changing only the fields you send.
Instructions
Updates the auto-invoicing settings of the payment connection named by {connection_id} of a
company your account owns or manages.
Partial by field: a field you omit keeps its current value. The series fields also accept an explicit
null, which clears the series and falls back to the company default for that document type.filter_configis the exception: when sent, it replaces the whole object, not just the sub-fields you included — a partialfilter_configclears every filter axis you left out.Read-only fields:
id,provider,status,environment,external_account_id,connected_at,last_event_atandactive_filtersare not part of this request and are ignored if sent.statusmoves through the disconnect operation, never here.Series: each one must exist, be active, belong to this NIF and carry a compatible document type, or the request answers
422.
Endpoint: PATCH /v1/companies/{company_id}/payment-connections/{connection_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| company_id | Yes | Unique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed. | |
| connection_id | Yes | Unique identifier (UUID) of the payment connection the operation acts on, as returned by `GET /v1/companies/{company_id}/payment-connections`. A NIF can hold several connections of the same provider, so the provider slug alone does not name one. A connection of another NIF answers `404`, exactly like one that does not exist. |