> ## Documentation Index
> Fetch the complete documentation index at: https://docs.speedsellx.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Obter produto

> Retorna um produto pelo id

Requer o escopo `products:read`. Um produto de outra conta retorna `404`.

<ResponseExample>
  ```json Resposta theme={null}
  {
    "data": {
      "id": 3256,
      "name": "Curso de Vendas",
      "description": "Curso completo de vendas",
      "status": "published",
      "type": "digital",
      "payment_type": "unique",
      "recurrence_interval": null,
      "price": 199.9,
      "currency": "brl",
      "is_free": false,
      "image": "https://cdn.speedsellx.io/upload/abc123.webp",
      "created_at": "2026-06-01T10:00:00-03:00",
      "updated_at": "2026-06-01T10:00:00-03:00",
      "checkouts": [
        {
          "id": 3537,
          "name": "Checkout Inicial",
          "status": "published",
          "is_default": true,
          "url": "https://pay.speedsellx.io/ABC123DEF"
        },
        {
          "id": 3540,
          "name": "Black Friday",
          "status": "disabled",
          "is_default": false,
          "url": "https://pay.speedsellx.io/XYZ987WUV"
        }
      ]
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /products/{id}
openapi: 3.1.0
info:
  title: SpeedSellX API
  version: 1.0.0
  description: >-
    API pública da SpeedSellX para consultar e atualizar, por integração, os
    dados da sua conta: produtos, pedidos, vendas, assinaturas, métricas,
    checkouts, upsells e webhooks. Autentique com `Authorization: Bearer
    sk_live_...` e gere chaves no painel, em Desenvolvedores. Requisições que
    alteram dados exigem o header HTTP `Idempotency-Key`. Listagens aceitam
    `page`/`per_page` e retornam `{ data, meta }`.
servers:
  - url: https://api.speedsellx.io/seller/v1
    description: Produção
security: []
tags:
  - name: Produtos
  - name: Pedidos
  - name: Vendas
  - name: Assinaturas
  - name: Métricas
  - name: Upsells
  - name: Checkouts
paths:
  /products/{id}:
    get:
      tags:
        - Produtos
      summary: Detalhar produto
      description: >-
        Retorna um produto pelo ID. Se o produto pertencer a outra conta, a API
        retorna 404.
      operationId: v1.products.show
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/ProductDetailResource'
                required:
                  - data
        '404':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                        const: not_found
                      message:
                        type: string
                        const: Resource not found.
                    required:
                      - type
                      - message
                required:
                  - error
components:
  schemas:
    ProductDetailResource:
      type: object
      properties:
        id:
          type: integer
        name:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        status:
          type: string
        type:
          type:
            - string
            - 'null'
        payment_type:
          type:
            - string
            - 'null'
        recurrence_interval:
          type:
            - string
            - 'null'
        price:
          type:
            - number
            - 'null'
        currency:
          type:
            - string
            - 'null'
        is_free:
          type: boolean
        image:
          type:
            - string
            - 'null'
        created_at:
          type: string
        updated_at:
          type: string
        checkouts:
          type: array
          items:
            $ref: '#/components/schemas/CheckoutLinkResource'
      required:
        - id
        - name
        - description
        - status
        - type
        - payment_type
        - recurrence_interval
        - price
        - currency
        - is_free
        - image
        - created_at
        - updated_at
        - checkouts
      title: ProductDetailResource
    CheckoutLinkResource:
      type: object
      properties:
        id:
          type: integer
        name:
          type:
            - string
            - 'null'
        status:
          type:
            - string
            - 'null'
        is_default:
          type: boolean
        url:
          type:
            - string
            - 'null'
      required:
        - id
        - name
        - status
        - is_default
        - url
      title: CheckoutLinkResource

````