---
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
      - CounterpartySeller
        - `soldByPlatform` false, required — Indicates the product is sold by a counterparty
        - `counterpartyType` string, required — Type of the counterparty seller
    - `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

---

[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/cee52ef467c1/schema)
