200Successful Response
Schema: SuccessEnvelope_TransactionCounterpartyRenameResponse_
successbooleanmessagestringcodestringdataTransactionCounterpartyRenameResponse
/api/v1/transactions/batch/counterpartySet the counterparty name for multiple transactions at once. With remember the name is also saved as a rename for the business's other transactions under the same registry entry or raw name (see POST /counterparty-naming/rename-impact for the count first); the response reports rows_renamed, aliases_created and other_rows_relabelled.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: TransactionBulkUpdateCounterpartyRequest
transaction_idsarray · stringrequiredArray of transaction UUIDs to update.
counterpartystringrequiredCounterparty / merchant name to set on all selected transactions.
rememberbooleanWhen true, also save the rename for the business (a counterparty alias): the business's OTHER transactions under the same registry entry or raw name, existing and future, display the new name too, except rows someone renamed by hand. Registry-linked transactions keep their registry link and store the new name; unlinked ones get a name-keyed alias for their previous raw string. Rows from a payment processor that pays many parties (Gusto, ADP, PayPal, Stripe, Bill.com, ...) are renamed on their own and never aliased. Call GET /counterparty-naming/rename-impact first to show how many other rows change. When false (default), only the selected rows are renamed.
Schema: SuccessEnvelope_TransactionCounterpartyRenameResponse_
successbooleanmessagestringcodestringdataTransactionCounterpartyRenameResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.