Documentation Index

Fetch the complete documentation index at: https://www.bloxs.io/llms.txt

Use this file to discover all available pages before exploring further.

Remove a bankaccount from a supplier

Prev Next
Delete
/api/v1/relations/suppliers/bankaccounts

Remove an existing bank account from a supplier.

Remove a Bank Account from a Supplier

Removes an existing bank account from a supplier's record.

A developer calls this endpoint to delete a bank account that is no longer valid or in use, for example after a supplier closes an account or provides updated bank account details.

The supplier is located via reference or externalIdentifier, at least one of which must be supplied.

The bank account itself is identified by bankAccountNumber, which must match an account already registered for the supplier. An account currently marked as preferred can only be removed if it is the supplier's only bank account; if other accounts exist, another account must first be made preferred (via Add a Bank Account or Update a Bank Account), which automatically transfers the preferred status, before the original account can be removed.


Request Fields

Field

Type

Required

Description

reference

string

Required (at least one of reference or externalIdentifier must be given)

The internal identifier (Reference/Code) of the supplier whose bank account should be removed.

externalIdentifier

string

Required (at least one of reference or externalIdentifier must be given)

The external API identifier of the supplier whose bank account should be removed.

bankAccountNumber

string, max 34

Required

The bank account number identifying which existing account to remove. Must match an account already registered for the supplier; if it does not, the request fails with an error stating the bank account was not found. If the account is marked preferred and other bank accounts exist for the supplier, the request will fail and show an error. If the account is marked preferred but is the supplier's only bank account, removal will succeed, leaving the supplier with no bank accounts.


Response Fields

This endpoint returns no response body on success. A 200 response confirms the bank account was removed from the supplier.

Field

Type

Required

Description

(none)

No fields are returned on success.

Security
Query parameters
reference
string

The internal identifier of the model (i.e. Reference, Code, Name, depends on model).

externalIdentifier
string

The external API identifier of the model.

Body parameters
object
bankAccountNumber
string Required
Min length0
Max length34
Responses
200

The bank account was removed from the supplier

400

The bank account data has validation issues

Expand All
object
type
string | null
title
string | null
traceId
string | null
status
integer (int32)
errors
object | null
property*
Array of string | null additionalProperties
string