---
title: "GET /products/{code}"
method: GET
path: "/products/{code}"
tags: ["Products"]
---

# GET /products/{code}

`GET /products/{code}`

Retrieves a product by code.

## Path parameters

- `code` string, required — Product code. Must not include #, /, or :.

## Response `200`

Success

- ProductSuccessResponse
  - `data` Product, required — Product object.
    - `id` string, required — FRAGMENT generated unique ID.
    - `workspace_id` string, required — Workspace ID of the product.
    - `code` string, required — Product code.
    - `description` string — Product description.
    - `update_version` number, required — Current version of the product.
    - `created` string, date-time, required — Timestamp when the product was created. Uses ISO 8601 format.

## Other responses

- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

## Changes

- **2026-05-11** `91a072ddf86d` — 2 breaking
  - removed the required property `data/paid_by_roles` from the response with the `200` status
  - removed the required property `data/paid_to_roles` from the response with the `200` status
- **2026-03-13** `dd22ecbbe8e5` — 2 breaking
  - removed the required property `data/updateVersion` from the response with the `200` status
  - removed the required property `data/workspaceId` from the response with the `200` status
- **2026-03-06** `6768d46dbde8` — 1 breaking, 4 info
  - the response property `data/description` became optional for the status `200`
  - response property `data/updateVersion` deprecated
  - response property `data/workspaceId` deprecated
  - added the required property `data/update_version` to the response with the `200` status
  - …1 more
- **2026-02-05** `635b1d55b735` — 1 breaking, 3 info
  - removed the required property `data/seller` from the response with the `200` status
  - added the required property `data/id` to the response with the `200` status
  - added the required property `data/paid_by_roles` to the response with the `200` status
  - added the required property `data/paid_to_roles` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/fragment-dev/apis/fragment-payments-api/changes/products/:code/get.md)

---

[API](https://skmtc.dev/fragment-dev/apis/fragment-payments-api.md) · [All operations](https://skmtc.dev/fragment-dev/apis/fragment-payments-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fragment-dev/fragment-payments-api/revisions/41ca2c686012/schema)
