obter pedido
GET
http://apidatain-prod.f1ws.com.br/orders/76407
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://apidatain-prod.f1ws.com.br/orders/76407' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{
"id": 13970,
"code": "001",
"f1_id": 452,
"enterprise_id": 13,
"name_corporate": "EMP",
"name_fancy": "EMP",
"cnpj": "00000000000000",
"registration_state": "0000000000",
"email": "[email protected]",
"client_code": "001",
"representative_name": "EMP",
"representative_email": "[email protected]",
"representative_phone": "9999999999",
"representative_birth_date": "1901-01-01",
"representative_cpf": "00000000000000",
"representative_cell_phone": "9999999999",
"representative_office": "",
"order_type": "REVENDA",
"order_sequencial_number": 190,
"user_id": "0000000001",
"user_code": "0000000001",
"tele_sales_user_code": "0000000000",
"link": "0",
"origin_ip": "0.0.0.0",
"phone": "9999999999",
"order_date": "2023-01-31 15:06:03",
"delivery_date": "2023-02-14 15:06:03",
"exportation_date": "1901-01-01 00:00:00",
"status": "FATURADO",
"status_id": "FATURADO",
"status_message": null,
"external_status_id": "FATURADO",
"modification_date": "2023-02-01 03:00:22",
"partial_billing": 0,
"order_total_value": "88.44",
"order_total_st": "0.00",
"order_total_ipi": "5.40",
"order_total_discounts": "51.24",
"order_freight": "0.00",
"client_comment": "",
"client_segment_external_code": "5442",
"tax_discount": "0.00",
"purchase_order": "0",
"approved_date": null,
"total_extended_warranty": "0.00",
"responsible_order_user_id": 28,
"responsible_order_user_type": "Vendedor",
"responsible_order_user_name": "Vendedor Teste",
"responsible_order_user_mail": "[email protected]",
"responsible_order_user_external_code": "0000000000",
"responsible_order_user_cellphone": null,
"responsible_order_client_external_code": null,
"responsible_order_user_code": null,
"responsible_order_user_cnpj": null,
"invoice_message": "Teste",
"billing_date": null,
"receive_delivery_information": 0,
"sub_external_code": null,
"reservation_id": null,
"created_at": "2023-01-31 15:08:33",
"updated_at": "2023-02-01 15:05:20",
"deleted_at": null,
"updated_for": "EXTERNAL",
"addresses": [
{
"number": "1",
"id": 27948,
"order_id": 13970,
"type": "Entrega",
"state": "RS",
"city": "CIDADE",
"neighborhood": "CENTRO",
"street": "RUA",
"complement": "",
"zipcode": "00000000",
"created_at": "2023-01-31 15:08:33",
"updated_at": "2023-01-31 15:08:33",
"deleted_at": null
},
{
"number": "1",
"id": 27949,
"order_id": 13970,
"type": "Cobranca",
"state": "RS",
"city": "CIDADE",
"neighborhood": "CENTRO",
"street": "RUA",
"complement": "",
"zipcode": "00000000",
"created_at": "2023-01-31 15:08:33",
"updated_at": "2023-01-31 15:08:33",
"deleted_at": null
}
],
"distribution_centers": [
{
"id": 13962,
"order_id": 13970,
"identification": "IDENTIFICADOR",
"freight": "0.00",
"freight_original_value": "0.00",
"freight_discount": "0.00",
"freight_delivery_time": "10",
"freight_name": "NOME",
"freight_id": "0300",
"freight_id_transport": null,
"transport_cnpj": "",
"transport_modality": "",
"classification": "CIF",
"code": "0300",
"state": "RS",
"invoice_message": "",
"created_at": "2023-01-31 15:08:33",
"updated_at": "2023-01-31 15:08:33",
"deleted_at": null
}
],
"payments": [
{
"id": 13959,
"order_id": 13970,
"external_code": "0003",
"value": "88.44",
"discount": "0.00",
"discount_total": "51.24",
"fees": "0.00",
"comments": "",
"type": "Visa",
"installments_qty": 1,
"installment": "1x R$ 88,44",
"internal_type": "card",
"created_at": "2023-01-31 15:08:33",
"updated_at": "2023-01-31 15:08:33",
"deleted_at": null
}
],
"payments_providers": [
{
"id": 81,
"order_id": 13970,
"message": "success",
"tid": "",
"nsu": "",
"capture_nsu": "",
"authorization_code": "",
"payment_id": "",
"receive_date": "2023-01-31 15:06:05",
"provider": "Rede",
"installments": 1,
"proof_of_sale": "",
"card_number": "",
"card_bin": "",
"card_end": "",
"created_at": "2023-01-31 15:08:33",
"updated_at": "2023-01-31 15:08:33",
"deleted_at": null
}
],
"items": [
{
"id": 42316,
"order_id": 13970,
"order_distribution_center_id": 13962,
"product_id": 1,
"product_code": "685",
"product_name": "Teste",
"product_integrated_value_of": "0.00",
"product_integrated_value_for": "0.00",
"product_value": "7.37",
"nature_operation": "*",
"product_gross_value": "11.19",
"product_with_discount": "6.92",
"qty": "12.00",
"total_value": "88.44",
"discount": "0.00",
"unitary_custom_discount_value": "0",
"total_custom_discount_value": "0.00",
"custom_discount_percent": "0.00",
"unitary_discount_payment_value": "0.00",
"total_discount_payment_value": "0.00",
"unitary_interest_payment_value": "0.00",
"total_interest_payment_value": "0.00",
"unitary_discount_segment_value": "4.27",
"total_discount_segment_value": "51.25",
"segment_discount_percent": "38.17",
"unitary_product_value_with_ipi": "7.37",
"total_product_value_with_ipi": "88.44",
"unitary_product_value_with_icms": "7.37",
"total_product_value_with_icms": "88.44",
"product_without_payment_condition": "11.19",
"product_value_without_payment_condition": "7.37",
"product_total_without_payment_condition": "88.44",
"unitary_product_freight_value": "0.00",
"total_product_freight_value": "0.00",
"unitary_product_freight_value_without_payment_condition": "0.00",
"total_product_freight_value_without_payment_condition": "0.00",
"unitary_st_value": "0.00",
"total_st_value": "0.00",
"unitary_ipi_value": "0.45",
"total_ipi_value": "5.40",
"unitary_icms_value": "0.00",
"total_icms_value": "0.00",
"reduced_icms": "0.00",
"price_list_id": 155,
"price_list_code": "RW",
"ipi_aliq": "6.50",
"st_aliq": "0.00",
"fcp_aliq": "0.00",
"extended_warranty_code": "",
"extended_warranty_value": "0.00",
"extended_warranty_unitary_without_payment_condition": "0.00",
"extended_warranty_total_without_payment_condition": "0.00",
"extended_warranty_total": "0.00",
"price_final_sale": "0",
"unitary_icms_discount": "0.00",
"quantity_canceled": 0,
"order_item_status": null,
"message": null,
"progressive_discount_coupon": "0.00",
"updated_for": "APISYNC",
"created_at": "2023-01-31 15:08:33",
"updated_at": "2023-01-31 15:08:33",
"deleted_at": null,
"direct_billing_product_unitary_value": null,
"direct_billing_product_total_value": null,
"direct_billing_product_unitary_commission": null,
"direct_billing_product_total_commission": null,
"sequential": 1,
"external_item_id": null,
"code_kit": "",
"principal_kit": 0,
"unitary_product_overprice": "0.00",
"unitary_product_overprice_without_payment_condition": "0.00"
}
],
"invoices": [
{
"id": 23,
"order_id": 13970,
"order_external_id": null,
"type": "SALE",
"distribution_center_code": "001",
"number": "0001",
"serie": null,
"key": null,
"invoice_date": "2023-02-01 00:00:00",
"tracking_code": null,
"tracking_url": null,
"transport_code": null,
"transport_name": null,
"delivery_date": null,
"billing_type": null,
"code": "0001",
"issued": null,
"base64_file": null,
"to_delete": 0,
"created_at": "2023-02-01 15:00:16",
"updated_at": "2023-02-01 15:00:16",
"deleted_at": null
}
]
}
Requisição
Parâmetros Header
Content-Type
string
requerido
Exemplo:
application/json
Parâmetros Bodyapplication/json
Respostas
Modificado em 2025-06-23 20:17:41