API ReferenceapiaffiliatesPOST /v1/admin/affiliates/promote-elite

POST /v1/admin/affiliates/promote-elite

Service: affiliates · operationId: (none)

Evaluate all active affiliates and promote those qualifying for elite tier

Required scopes

(no scope declared — review service config)

Responses

200 Elite promotion evaluation completed

{
  "type": "object",
  "properties": {
    "evaluated": {
      "type": "integer"
    },
    "promoted": {
      "type": "integer"
    }
  },
  "required": [
    "evaluated",
    "promoted"
  ]
}

500 Internal error

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

Example

curl -X POST https://affiliates.platform.loop.health/v1/admin/affiliates/promote-elite \
  -H "Authorization: Bearer $ACCESS_TOKEN"