Brand
Medications
Export Compounds

Export Compounds (csv)

Export compounds for the specified product variant as a CSV string.

Overview

  • Method: GET
  • Path: /brand/medications/export-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

{
  "csv": "string",
  "filename": "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/export-compounds/<productVariantId> \
  -H "Content-Type: application/json" \