Skip to main content
PUT
/
api
/
v2
/
affiliate
/
aff-billing
/
preferences
Update billing preferences
curl --request PUT \
  --url 'https://{domain}/api/v2/affiliate/aff-billing/preferences/?api-key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "invoice_type": "string",
  "invoice_frequency": "string",
  "generate_invoice_automatically": true,
  "payment_terms": "string",
  "vat": 1
}
'
{
  "status": "success",
  "code": 200,
  "name": "OK",
  "message": "<string>",
  "info": {
    "affiliate-billing-details": {}
  }
}

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.

Body

application/json
invoice_type
string
invoice_frequency
string
generate_invoice_automatically
boolean
payment_terms
string
vat
number
beneficiary_name
string
beneficiary_address
string
beneficiary_city
string
beneficiary_postcode
string
beneficiary_country
string
billing_email
string
tax_id
string

Response

Updated preferences.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object