Skip to main content
PATCH
/
networks
/
billings
/
affiliates
/
invoices
Batch Update Invoices
curl --request PATCH \
  --url https://api.eflow.team/v1/networks/billings/affiliates/invoices \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "invoice_ids": [
    1,
    2,
    3
  ],
  "status": "paid"
}
'

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
invoice_ids
integer[]

Array of invoice IDs to update.

status
enum<string>

The new status to apply to all specified invoices.

Available options:
paid,
unpaid,
deleted

Response

200

Invoices updated successfully.