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

# GET /products/{code}

`GET /products/{code}`

Gets a product by code

## Path parameters

- `code` string, required — Product code

## Response `200`

Success

- ProductSuccessResponse
  - `data` Product, required — Product object
    - `workspaceId` string, required — Workspace ID this product belongs to
    - `code` string, required — Product code (unique identifier)
    - `description` string, required — Description of the product
    - `seller` union, required — Seller information
      - PlatformSeller
        - `soldByPlatform` true, required — Indicates the product is sold by the platform
      - UserSeller
        - `soldByPlatform` false, required — Indicates the product is sold by a user
        - `role` string, required — Role of the user
    - `updateVersion` number, required — Version number for optimistic locking
    - `created` string, date-time, required — ISO 8601 timestamp when the product was created

## Other responses

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

## Changes

- **2026-02-02** `0f4bb2a098cb` — 2 info
  - added `#/components/schemas/UserSeller` to the `data/seller` response property `anyOf` list for the response status `200`
  - removed `#/components/schemas/CounterpartySeller` from the `data/seller` response property `anyOf` list for the response status `200`
- **2026-01-27** `e106f73e6999` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2026-01-27** `aea46314e2f7` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2026-01-27** `c985e59e0748` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2026-01-27** `ec5eb2a41457` — 2 info
  - the endpoint scheme security `oauth2` was added to the API
  - the endpoint scheme security `Bearer` was removed from the API

[Change 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/0f4bb2a098cb/schema)
