---
title: "Incluir item"
method: POST
path: "/orders/{order_id}/items"
---

# Incluir item

`POST /orders/{order_id}/items`

## Request

- Base URL: `https://api.pagar.me/core/v5`
- URL: `https://api.pagar.me/core/v5/orders/{order_id}/items`
- Auth: HTTP basic

Quando um pedido está **aberto**, você pode incluir itens nele.

## Path parameters

- `order_id` string, required

## Request body

- object
  - `amount` integer, required: Valor do item.
  - `code` string: Código do item no sistema da loja. Max: 52 caracteres. Obrigatório para transações de split
  - `description` string, required: Descrição do item. Max: 256 caracteres.
  - `quantity` string, required: Quantidade de itens.
  - `category` string: Categoria do item. Max: 64 caracteres.

## Response `200`

200

- object
  - `id` string
  - `description` string
  - `amount` integer
  - `quantity` integer
  - `status` string
  - `created_at` string
  - `updated_at` string
  - `order` object
    - `id` string
    - `code` string
    - `amount` integer
    - `currency` string
    - `closed` boolean
    - `status` string
    - `created_at` string
    - `updated_at` string
  - `seller` object
    - `id` string
    - `name` string
    - `code` string
    - `document` string
    - `description` string
    - `status` string
    - `created_at` string
    - `updated_at` string
    - `address` object
      - `line_1` string
      - `zip_code` string
      - `city` string
      - `state` string
      - `country` string
    - `metadata` object

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `ef323290c0ff`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pagar/apis/pagarme-api/changes/orders/:order_id/items/post.md)

---

[API](https://skmtc.dev/pagar/apis/pagarme-api.md) - [All operations](https://skmtc.dev/pagar/apis/pagarme-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pagar/apis/pagarme-api/revisions/ef323290c0ff?raw)
