> ## 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 pedido

> Retorna um pedido pelo id

Requer o escopo `orders:read`. Um pedido de outra conta retorna `404`.

<ResponseExample>
  ```json Resposta theme={null}
  {
    "data": {
      "id": 44,
      "uuid": "359e2b90-8a75-4bf2-8d24-be27fbf9b2a8",
      "status": "approved",
      "status_details": "approved",
      "product_id": 3194,
      "customer_id": 732,
      "amount": "28.79",
      "amount_seller": "24.91",
      "currency": "USD",
      "captured_at": null,
      "created_at": "2026-05-21T15:17:53-03:00"
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /orders/{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:
  /orders/{id}:
    get:
      tags:
        - Pedidos
      summary: Detalhar pedido
      description: >-
        Retorna um pedido pelo ID. Se o pedido pertencer a outra conta, a API
        retorna 404.
      operationId: v1.orders.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/OrderResource'
                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:
    OrderResource:
      type: object
      properties:
        id:
          type: integer
        uuid:
          type:
            - string
            - 'null'
        status:
          type:
            - string
            - 'null'
        status_details:
          type:
            - string
            - 'null'
        product_id:
          type:
            - integer
            - 'null'
        customer_id:
          type:
            - integer
            - 'null'
        amount:
          type:
            - string
            - 'null'
        amount_seller:
          type:
            - string
            - 'null'
        currency:
          type: string
        captured_at:
          type: string
        created_at:
          type: string
      required:
        - id
        - uuid
        - status
        - status_details
        - product_id
        - customer_id
        - amount
        - amount_seller
        - currency
        - captured_at
        - created_at
      title: OrderResource

````