Brand
Medications
Get Compounds

Get Compounds

Retrieve available compounds for a given product variant.

Overview

  • Method: GET
  • Path: /brand/medications/get-compounds/<productVariantId>
  • Tags: brand

Parameters

productVariantId (path)

  • Type: string
  • Required: Yes
  • Description: productVariantId parameter

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "compounds": "string",
  "name": "string",
  "description": "string",
  "dosage": "string",
  "instructions": "string"
}

400

Bad Request

Content Type: application/json

{
  "error": "string",
  "details": [
    {}
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  https://api.pillexa.com/brand/medications/get-compounds/<productVariantId> \
  -H "Content-Type: application/json" \