Variants

Get a variant

Retrieve a variant by ID for the authenticated account.

get/v1/variants/{id}

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v1/variants/{id}
  • Auth
    HTTP basic

Path parameters

idstring required

Variant ID

Response

Variant

has_moreboolean

Example response

{
  "data": {
    "coin_price": 500,
    "created_at": 1752000000,
    "currency": "PHP",
    "external_code": "sku-001-m",
    "id": "prdvar_abc123",
    "image": "file_abc123",
    "position": 1,
    "price": 150000,
    "product_id": "prdct_abc123",
    "status": "active",
    "title": "M",
    "updated_at": 1752000000
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.