{
"success": true,
"message": "Operação realizada com sucesso",
"data": {
"order_number": "DM.SML202508.000004",
"order_type": "out",
"status": "confirmed",
"substatus": {
"value": "awaiting_confirmation",
"label": "Aguardando Confirmação",
"description": "Pedido aguardando confirmação"
},
"is_confirmed": true,
"is_packed": false,
"warehouse": {
"warehouse_id": 1,
"name": "001 - Pari - SP"
},
"items": [
{
"item_id": 7,
"product": {
"sku": "ELET-SMART-001",
"name": "Smartphone Galaxy Pro 256GB",
"has_ean": false,
"barcode": "ELET-SMART-001-431678",
"description": "Smartphone de última geração com 256GB de armazenamento",
"has_serial_number": true,
"has_batch_control": false,
"has_expiration_date": false
},
"origin_fiscal_key": "2501068310860681194269231690924940",
"quantity": 1,
"quantity_processed": 0,
"status": "confirmed",
"batch_number": null,
"serial_number": "SMART2024-0004",
"additional_data": {
"split_from": 6
}
},
{
"item_id": 6,
"product": {
"sku": "ELET-SMART-001",
"name": "Smartphone Galaxy Pro 256GB",
"has_ean": false,
"barcode": "ELET-SMART-001-431678",
"description": "Smartphone de última geração com 256GB de armazenamento",
"has_serial_number": true,
"has_batch_control": false,
"has_expiration_date": false
},
"origin_fiscal_key": "2501068310860681194269231690924940",
"quantity": 1,
"quantity_processed": 0,
"status": "confirmed",
"batch_number": null,
"serial_number": "SMART2024-0003",
"additional_data": []
}
],
"customer_owner": {
"customer_id": "01k1y4dmbd8vgxz5r12drvgf40",
"name": "TechZone Eletrônicos",
"document": "51115210000162"
},
"operation_type": {
"operation_type_id": 9,
"name": "[Exemplo] - Pedido de Venda - Marketplace",
"description": "Exemplo de saída de mercadorias simplificado para marketplace ou loja virtual",
"module": "outbound",
"can_be_created_by_customer": true
},
"channel": {
"channel_id": 1,
"name": "Pedido ERP",
"channel": "generic",
"channel_label": "Genérico",
"is_active": true,
"settings": {
"channel_name": "Pedido ERP"
}
},
"recipient_id": null,
"recipient_address_id": null,
"carrier_id": null,
"schedules": [],
"notes": "Descrição do Pedido Light",
"created_by_id": 7,
"created_by_type": "Customer",
"creator": {
"id": 7,
"name": "TechZone Eletrônicos",
"email": "contato@techzone.com.br",
"avatar": "https://ui-avatars.com/api/?name=TechZone+Eletr%C3%B4nicos&background=64b5f6&color=fff",
"is_active": true,
"type": "customer",
"type_label": "Cliente",
"customer_type": {
"value": "vendedor",
"label": "Vendedor"
}
},
"created_at": "2025-08-05T22:28:56.000000Z",
"created_at_formatted": "05/08/2025 19:28",
"updated_at": "2025-08-05T22:29:17.000000Z",
"updated_at_formatted": "05/08/2025 19:29"
}
}