---
title: "Get localized digital product price"
method: POST
path: "/public/get-digital-product-price"
tags: ["Product"]
---

# Get localized digital product price

`POST /public/get-digital-product-price`

Get price of a single digital product depending on the country of user requesting it

Rate limit: Maximum 60 requests in a window of 1m.

## Request body

- object
  - `data` object[], required
    - `data` object, required
      - `fermionDigitalProductSlug` string, required — Slug of the digital product. You can set custom slugs when creating the product.
      - `fermionSchoolId` string, required — Your school ID
      - `discountCouponCode` union, required
        - string — Any discount code you want to apply to get updated prices. Send null if no discount code should be applied
        - unknown
        - unknown
      - `userCountryHint` string, nullable — Two letter country code of user to force apply regional pricing. If not provided then we will use the country code of the user making this request.

## Response `200`

API Response Body

- object[]
  - `output` union, required
    - object
      - `status` 'ok', required
      - `data` object, required
        - `prices` union[], required — Array of available pricing plans for the product. Each plan includes payment options, currency information, applicable discounts, and tax details
          - union
            - object
              - …
            - object
              - …
    - object
      - `status` 'error', required
      - `errorMessage` string, required

---

[API](https://skmtc.net/fermion/apis/fermion-backend-api.md) · [All operations](https://skmtc.net/fermion/apis/fermion-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fermion/fermion-backend-api/revisions/7ce364c8820b/schema)
