Endpoint
- Method:
POST - Path:
/settings/referral-config - Edition: Core
- Controller:
SettingController@saveReferralConfig - Route source:
app/Http/Routes/api.php
POST Update Referral Config
POST
/settings/referral-config
Save the referral program configuration.
Controller: SettingController@saveReferralConfig
Route source: app/Http/Routes/api.php
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Request Body
application/json
JSON
{
}
Responses
Successful response
application/json
JSON
{
"config": {
},
"message": "string"
}