get https://api.plugg.to/orders/
Returned exemple
{
"Order": {
"tags": {
"has_invoice_key": null,
"has_invoice_xml": null,
"has_invoice_pdf": null,
"has_payment_form": null,
"has_track": null,
"has_track_url": null,
"has_label": null
},
"commission": {
"fixed": null,
"tax": null,
"total_charged": null,
"comment": null
},
"status_history": [],
"substatus_history": [],
"log_history": [],
"log_permanent": [],
"payments": [
{
"payment_type": "credit",
"payment_method": "Nome do método como enviado pelo canal de venda",
"payment_installments": "3",
"payment_total": 100,
"payment_quota": 30,
"payment_interest": 3,
"payment_additional_info": null,
"external": null,
"id": "6042121bb71e3422dafd2404"
}
],
"items": [
{
"commission": {
"fixed": 4,
"tax": 2,
"total_charged": 10,
"comment": null
},
"variation": {
"attributes": [],
"id": null,
"name": null,
"external": null,
"sku": null,
"ean": null,
"photo_url": null
},
"quantity": 2,
"sku": "486086",
"price": 30,
"total": 90,
"name": "Camiseta Básica Azul",
"original_sku": "486086",
"photo_url": "https://s3-sa-east-1.amazonaws.com/pluggto/129/129_05e6eece-8f95-46a1-a849-d85b06f0fce1.jpg",
"id": null,
"location": null,
"discount": null,
"external": null,
"supplier_id": null,
"stock_code": null,
"price_code": null,
"shipping_cost": null
},
{
"commission": {
"fixed": 4,
"tax": 2,
"total_charged": 10,
"comment": null
},
"variation": {
"attributes": [],
"id": null,
"name": null,
"external": null,
"sku": null,
"ean": null,
"photo_url": null
},
"quantity": 1,
"sku": "486078",
"price": 10,
"total": 10,
"name": "PRODUTO XYZ",
"supplier_id": "136",
"original_sku": "486078",
"photo_url": "https://s3-sa-east-1.amazonaws.com/pluggto/129/129_043bffbd-6c7f-4ad4-9624-935167a90ce9.jpg",
"id": null,
"location": null,
"discount": null,
"external": null,
"stock_code": null,
"price_code": null,
"shipping_cost": null
},
{
"commission": {
"fixed": 4,
"tax": 2,
"total_charged": 10,
"comment": null
},
"variation": {
"attributes": [],
"sku": "151-sapp-1",
"id": null,
"name": null,
"external": null,
"ean": null,
"photo_url": null
},
"quantity": 1,
"sku": "15211-variacao123",
"price": 100,
"total": 100,
"name": "Produto de teste com variacao",
"stock_code": "151",
"supplier_id": "136",
"original_sku": "15211-variacao123",
"id": null,
"location": null,
"discount": null,
"external": null,
"price_code": null,
"shipping_cost": null,
"photo_url": null
}
],
"shipments": [],
"receiver_name": "Luizo",
"receiver_lastname": "Santos",
"receiver_address_number": "440",
"receiver_address": "Rua do Bosque",
"receiver_address_complement": "Ap 22",
"receiver_address_reference": "Prox a padaria",
"receiver_city": "São Paulo",
"receiver_state": "São Paulo",
"receiver_email": "[email protected]",
"receiver_zipcode": "4457-115",
"receiver_phone": "119911-22111",
"receiver_phone2_area": "21",
"receiver_phone2": "9911-22112",
"receiver_neighborhood": "Barra funda",
"receiver_phone_area": "",
"payer_name": "Luizo",
"payer_lastname": "Santos",
"payer_address": "Rua do Bosque",
"payer_address_number": "440",
"payer_address_complement": "Ap 22-Prox a padaria",
"payer_additional_info": "Prox a padaria",
"payer_neighborhood": "Mooca",
"payer_city": "São Paulo",
"payer_state": "São Paulo",
"payer_zipcode": "4457-115",
"payer_phone_area": "",
"payer_phone": "112233-1111",
"payer_phone2_area": "21",
"payer_phone2": "2233-1111",
"payer_cpf": "000.000.000-00",
"payer_tax_id": "000.000.000-00",
"payer_cnpj": "22.211.221/0001-21",
"payer_document": "22.211.221/0001-21",
"payer_razao_social": "EMPRESA LTDA",
"payer_company_name": "EMPRESA LTDA",
"payer_country": "BR",
"payer_email": "[email protected]",
"total_paid": 18,
"shipping": 10.21,
"subtotal": 7.789999999999999,
"discount": 81.79,
"total": 18,
"user_client_id": "129",
"status": "pending",
"original_id": "id_2_no_meu_sistema_teste_fix_5",
"expected_send_date": "2016-11-05T00:00:00.000Z",
"expected_delivery_date": "2016-11-05T00:00:00.000Z",
"receiver_schedule_date": "2016-11-05T00:00:00.000Z",
"auto_reserve": true,
"user_id": "129",
"created": "2021-03-05T11:12:27.771Z",
"created_by": "NTJhYTI3MTc4MDYyZjNk",
"ack": false,
"modified": "2021-03-09T18:22:24.198Z",
"modified_by": "a106d72f997e5d3c8a08ce5c32e849b7",
"timestamp": 1615314144,
"discount_description": "Adicionado desconto de $81.78999999999999 referente ao valor de kits do pedido x valor de venda dos produtos que compõe o kit se vendido separadamente.",
"external": {
"3be1315b01008eb77b5972693db69cd0": "100000532"
},
"receiver_additional_info": "Ap 22-Prox a padaria",
"receiver_country": "BR",
"input_service": null,
"sub_status": null,
"channel": null,
"channel_account": null,
"currency": null,
"receiver_cpf": null,
"receiver_schedule_period": null,
"delivery_type": null,
"payer_fullname": null,
"payer_gender": null,
"payer_address_reference": null,
"payer_schedule_date": null,
"payer_schedule_period": null,
"payer_ie": null,
"payer_im": null,
"deleted": null,
"comission": null,
"sale_intermediary": null,
"payment_intermediary": null,
"intermediary_seller_id": null,
"invoicing_accepted": null,
"invoicing_accepted_date": null,
"shipping_accepted": null,
"shipping_accepted_date": null,
"delivery_accepted": null,
"delivery_accepted_date": null,
"invoicing_informed": null,
"invoicing_informed_date": null,
"shipping_informed": null,
"shipping_informed_date": null,
"delivery_informed": null,
"delivery_informed_date": null,
"sla_ship": null,
"sla_delivery": null,
"label_printed": null,
"marked_as_delivered": null,
"marked_as_shipped": null,
"marked_as_invoiced": null,
"id": "6042121bb71e3422dafd2400"
}
}