Docs

GET Student

Endpoint

GET https://indiecourses.com/api/v1/students/:id

Response - 200 - Student

{
  "data": {
    "id": "string",
    "name": "string",
    "email": "string",
    "courses": [
      {
        "id": "string",
        "name": "string",
        # Possible values: [pending, paid, unpaid, refund_in_process, refunded, invited]
        "order_status": "enum",
        # Possible values: [unpublished, published, rejected, removed]
        "status": "enum"
      }
    ],
  }
}

Response - 404 - Not Found

{
  "errors": {
    "message": "string"
  }
}

Response - 401 - Unauthorized

{
  "errors": {
    "message": "string"
  }
}

Sign up for future updates