GET
/
product
/
{product_code}
curl --request GET \
  --url https://playground.runa.io/v2/product/{product_code} \
  --header 'X-Api-Key: <api-key>'
{
  "approval_state": "REQUIRES_CUSTOMER_ACTION",
  "categories": [
    "<string>"
  ],
  "code": "<string>",
  "countries_redeemable_in": [
    "<string>"
  ],
  "currency": "<string>",
  "customer_service": {
    "phone_number": "<string>",
    "website_url": "<string>"
  },
  "discount_multiplier": "<string>",
  "name": "<string>",
  "state": "LIVE",
  "is_orderable": true,
  "payout_type": "<string>",
  "availability": "stocked",
  "gift_card": {
    "assets": {
      "card_image_url": "<string>",
      "icon_image_url": "<string>",
      "primary_color": "<string>"
    },
    "balance_check_url": "<string>",
    "content_resources": {
      "description_markdown_url": "<string>",
      "disclaimer_markdown_url": "<string>",
      "refund_policy_markdown_url": "<string>",
      "reissuance_policy_markdown_url": "<string>",
      "terms_buyer_markdown_url": "<string>",
      "terms_consumer_markdown_url": "<string>",
      "redemption_instructions_markdown_url": "<string>",
      "locale": "<string>"
    },
    "expiry": {
      "date_policy": "<string>",
      "in_months": 123,
      "type": "from-last-use"
    },
    "redeemable_at": "all",
    "website_url": "<string>",
    "barcode_format": "code-128",
    "e_code_usage_type": "undefined",
    "denominations": {
      "available_list": [
        "<string>"
      ],
      "maximum_value": "<string>",
      "minimum_value": "<string>",
      "type": "open"
    }
  },
  "subscription": {
    "assets": {
      "card_image_url": "<string>",
      "icon_image_url": "<string>",
      "primary_color": "<string>"
    },
    "balance_check_url": "<string>",
    "content_resources": {
      "description_markdown_url": "<string>",
      "disclaimer_markdown_url": "<string>",
      "refund_policy_markdown_url": "<string>",
      "reissuance_policy_markdown_url": "<string>",
      "terms_buyer_markdown_url": "<string>",
      "terms_consumer_markdown_url": "<string>",
      "redemption_instructions_markdown_url": "<string>",
      "locale": "<string>"
    },
    "expiry": {
      "date_policy": "<string>",
      "in_months": 123,
      "type": "from-last-use"
    },
    "redeemable_at": "all",
    "website_url": "<string>",
    "barcode_format": "code-128",
    "e_code_usage_type": "undefined",
    "subscription_plans": [
      {
        "length_unit": "DAYS",
        "length": 123,
        "name": "<string>",
        "price": "<string>",
        "subscription_plan_code": "<string>"
      }
    ]
  },
  "payment": {
    "assets": {
      "icon_image_url": "<string>",
      "primary_color": "<string>"
    },
    "denominations": {
      "maximum_value": "<string>",
      "minimum_value": "<string>"
    },
    "content_resources": {
      "description_markdown_url": "<string>",
      "disclaimer_markdown_url": "<string>",
      "refund_policy_markdown_url": "<string>",
      "reissuance_policy_markdown_url": "<string>",
      "terms_buyer_markdown_url": "<string>",
      "terms_consumer_markdown_url": "<string>",
      "redemption_instructions_markdown_url": "<string>",
      "locale": "<string>"
    }
  }
}

Authorizations

X-Api-Key
string
header
required

Your API key. See the API key page on details of how to generate and store your keys.

Headers

X-Api-Version
string

The dated version of the API, if not specified a default is used. See API versioning for more information.

Path Parameters

product_code
string
required

The code of the product.

Query Parameters

content
enum<string>
default:url

Defines the format for product content resources. It accepts 'url' (default), 'md', or 'html' to return URLs, raw Markdown, or HTML content, respectively.

Available options:
url,
md,
html

Response

200
application/json

OK

Base schema for all product types, containing common fields.