## Retrieve **get** `/products/{code}` Gets a product by code ### Path Parameters - `code: string` Product code ### Returns - `data: object { id, code, created, 5 more }` Product object - `id: string` Unique identifier for the product - `code: string` User-defined product identifier. - `created: string` ISO 8601 timestamp when the product was created - `description: string` Description of the product - `paid_by_roles: array of object { id, name }` User roles that can pay for this product - `id: string` The unique ID of the role - `name: string` The name of the role - `paid_to_roles: array of object { id, name }` User roles that receive payment for this product - `id: string` The unique ID of the role - `name: string` The name of the role - `updateVersion: number` Version number for optimistic locking - `workspaceId: string` Workspace ID this product belongs to ### Example ```http curl https://api.us-west-2.fragment.dev/products/$CODE ```