Skip to main content
PUT
/
api
/
v2
/
network
/
aff-billing
/
invoices
/
{id}
Update invoice
curl --request PUT \
  --url 'https://{domain}/api/v2/network/aff-billing/invoices/{id}?api-key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "string",
  "date_due": "2025-01-20",
  "invoice_memo": "string",
  "internal_notes": "string"
}
'
{
  "status": "success",
  "code": 200,
  "name": "OK",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.scaleo.io/llms.txt

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

Authorizations

api-key
string
query
required

API key passed as query parameter. User must have api_status enabled.

Path Parameters

id
integer
required

Invoice ID.

Body

status
string
required

Invoice status: draft, unpaid, paid, rejected, etc.

date_due
string<date>

Due date (YYYY-MM-DD).

invoice_memo
string

Memo text visible to affiliate.

internal_notes
string

Internal notes (not visible to affiliate).

Response

Invoice updated.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string