---
title: "Retrieve product information"
method: GET
path: "/Market/get_product_info"
tags: ["Market", "Market Integration"]
---

# Retrieve product information

`GET /Market/get_product_info`

This function retrieves product information for the specified product name, including the product ID, redirect path, and redirect URLs for successful and failed purchases.

## Query parameters

- `product_name` string, required

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object
      - `product_id` string — The product's identifier in the cPanel Store.
      - `redirect_path` string — The cPanel path to redirect to after a purchase attempt.
      - `redirect_url_failure` string, url — The full cPanel URL to redirect to after a failed purchase, including the security token and relevant query string parameters.
      - `redirect_url_success` string, url — The full cPanel URL to redirect to after a successful purchase, including the security token and relevant query string parameters.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
    - `status` 0 | 1 — * `1` — Success. * `0` — Failed. Check the `errors` field for more details.
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

---

[API](https://skmtc.dev/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.dev/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/revisions/632e2f8e6d04/schema)
