POST
/
v1
/
referral
/
update
curl --request POST \
  --url https://api.orderly.org/v1/referral/update \
  --header 'Content-Type: application/json' \
  --header 'orderly-account-id: <orderly-account-id>' \
  --header 'orderly-key: <orderly-key>' \
  --header 'orderly-signature: <orderly-signature>' \
  --header 'orderly-timestamp: <orderly-timestamp>' \
  --data '{
  "account_id": "<string>",
  "referral_code": "<string>",
  "max_rebate_rate": 123,
  "referrer_rebate_rate": 123,
  "referee_rebate_rate": 123
}'
{
  "success": true,
  "timestamp": 1702989203989
}

Headers

orderly-timestamp
string
required
orderly-account-id
string
required
orderly-key
string
required
orderly-signature
string
required

Body

application/json

Response

200 - application/json
OK

The response is of type object.