Brand
Treatment-medication
Update Medications

Update Medications

PUT endpoint for /brand/treatment-medication/update-medications in brand category

Overview

  • Method: PUT
  • Path: /brand/treatment-medication/update-medications
  • Tags: brand

Parameters

No parameters required.

Request Body

  • Content Type: application/json
  • Required: Yes
  • Schema: Defined

Responses

200

Successful response

Content Type: application/json

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

400

Bad Request

Content Type: application/json

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "details": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "error",
    "details"
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X PUT \
  http://localhost:9000/brand/treatment-medication/update-medications \
  -H "Content-Type: application/json" \
  -d '{"example": "data"}'

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).