Order - Created (Completa)
Order - Created (Completa)
"event": "order.created",
"time": "2025-04-17 14:10:11",
"merchant": {
"id": 123456,
"alias": "lo*****go"
},
"resource": {
"id": 1,
"merchant_id": 123456,
"customer_id": 1234567890,
"status_id": 3,
"desire_status_id": [
8,
4,
9
],
"desire_status": [
"cancelled",
"paid",
"refused"
],
"promocode_id": null,
"marketplace_id": null,
"marketplace_account_id": null,
"authorized": false,
"sync_by_erp": false,
"has_recomm": false,
"has_upsell": false,
"has_freebie": false,
"has_order_bump": false,
"order_bump_types": [],
"has_payment": true,
"is_upsell": false,
"delivered": false,
"number": 200,
"marketplace_partner_id": null,
"marketplace_sale_number": null,
"value_total": 10,
"buyer_value_total": 10,
"value_products": 0,
"value_shipment": 10,
"value_tax": 0,
"buyer_value_tax": 0,
"value_discount": 0,
"value_wallet_discount": 0,
"shipment_cost": 10,
"shipment_service": "CORREIOS - PRAZO DE 2 A 4 SEMANAS",
"shipment_service_id": "CORREIOS - Prazo de 2 a 4 semanas",
"shipment_icon_url": "https://icons.yampi.me/svg/correios.svg",
"shipment_quote_id": "50661087",
"track_code": null,
"track_url": null,
"b2w_label_url": null,
"days_delivery": 1,
"date_delivery": {
"date": "2025-04-18 00:00:00.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"cart_token": "Z2**************A3",
"utm_source": null,
"utm_campaign": null,
"utm_content": null,
"utm_term": null,
"utm_medium": null,
"total_comments": 0,
"payments": [
{
"alias": "pix",
"name": "Pix",
"icon_url": "https://icons.yampi.me/svg/pix.svg"
}
],
"ip": "104.28.244.25",
"device": "desktop",
"reorder_url": "https://seguro.dominioexemplo.com.br/cart/items?
customerToken=bd5************1&product_option_id[0]=88322360&quantity[0]=1&has_reco
mm[0]=0&redirectTo=checkout&skipToCheckout=1&store_token=b64****************96",
"content_statement_url": "https://api.dooki.com.br/html/orders/content-
statement/Z2****************TA3?id=de*********************ebf",
"billet_whatsapp_link": "https://api.whatsapp.com/send?
phone=5599999999999&text=",
"billet_whatsapp_app_link": "whatsapp://send?phone=5599999999999&text=",
"public_url":
"https://api.dooki.com.br/v2/public/orders/Z2*******************A3",
"created_at": {
"date": "2025-04-17 14:09:55.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2025-04-17 14:09:55.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"status": {
"data": {
"id": 3,
"alias": "waiting_payment",
"name": "Aguardando pagamento",
"description": "Aguardando confirmação de pagamento"
}
},
"marketplace": {
"data": []
},
"customer": {
"data": {
"id": 123456,
"merchant_id": 123456,
"marketplace_id": null,
"cluster_id": 123456,
"active": true,
"type": "f",
"name": "Teste Yampi",
"razao_social": null,
"first_name": "Teste",
"last_name": "Yampi",
"generic_name": "Teste Yampi",
"email": "iagoympteste@gmail.com",
"cnpj": null,
"state_registration": null,
"cpf": "77978822230",
"birthday": null,
"phone": {
"full_number": "99999999999",
"area_code": "99",
"number": "999999999",
"formated_number": "(99) 99999-9999",
"whatsapp_link": "https://api.whatsapp.com/send?phone=5599999999999"
},
"social_driver": null,
"social_id": null,
"newsletter": false,
"whatsapp": false,
"utm_source": null,
"utm_campaign": null,
"ip": "104.28.244.25",
"notes": null,
"token": "bd5a4210-1bae-11f0-9567-f1d2e2beb8b1",
"login_url": "https://seguro.dominioexemplo.com.br/auth/login/force?
token=bd*************b1",
"anonymized": false,
"created_at": {
"date": "2025-04-17 14:09:36.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2025-04-17 14:09:37.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
}
}
},
"items": {
"data": [
{
"id": 123456,
"product_id": 123456,
"sku_id": 123456,
"bundle_id": null,
"bundle_name": null,
"freebie_id": null,
"price_cost": 0,
"price": 0,
"item_sku": "123456",
"quantity": 1,
"shipment_cost": 10,
"gift": false,
"gift_value": 0,
"has_recomm": 0,
"customizations": [],
"is_digital": false,
"sku": {
"data": {
"id": 123456,
"product_id": 123456,
"seller_id": null,
"sku": "123456",
"token": "123456",
"erp_id": null,
"blocked_sale": false,
"barcode": null,
"title": "Teste",
"availability": 0,
"availability_soldout": -1,
"days_availability_formated": "Imediata",
"price_cost": 0,
"price_sale": 0,
"price_discount": 0,
"width": 0,
"height": 0,
"length": 0,
"weight": 0,
"quantity_managed": true,
"variations": [],
"combinations": "123456",
"order": 0,
"total_in_stock": 3,
"total_orders": null,
"allow_sell_without_customization": false,
"image_reference_sku_id": null,
"purchase_url": "https://seguro.dominioexemplo.com.br/r/123456",
"created_at": {
"date": "2022-12-14 00:13:20.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2025-02-27 10:28:03.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"customizations": {
"data": []
}
}
}
}
]
},
"marketplace_account": {
"data": []
},
"statuses": {
"data": [
{
"id": 3,
"alias": "waiting_payment",
"name": "Aguardando pagamento",
"description": "Aguardando confirmação de pagamento",
"details": null,
"created_at": {
"date": "2025-04-17 14:09:55.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2025-04-17 14:09:55.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
}
}
]
},
"shipping_address": {
"data": {
"id": 123456,
"order_id": 123456,
"address_name": null,
"receiver": "Teste Yampi",
"zipcode": "11010100",
"zip_code": "11010100",
"street": "Praça dos Andradas",
"number": "1",
"complement": null,
"reference": null,
"neighborhood": "Centro",
"full_address": "Praça dos Andradas, 1 - Centro",
"city": "Santos",
"state": "SP",
"uf": "SP",
"country": "BR"
}
},
"pickup_address": {
"data": []
},
"promocode": {
"data": []
},
"transactions": {
"data": [
{
"id": 123456,
"customer_id": 123456,
"payment_id": 43,
"affiliation_id": 123456,
"marketplace_id": null,
"marketplace_account_id": null,
"authorized": true,
"captured": false,
"cancelled": false,
"gateway_transaction_id": "123456",
"gateway_order_id": null,
"gateway_authorization_code": null,
"gateway_billet_id": null,
"amount": 10,
"buyer_amount": 0,
"installments": 1,
"installment_value": 10,
"buyer_installment_value": 0,
"installment_formated": "1x de R$ 10,00",
"buyer_installment_formated": "1x de R$ 0,00",
"bank_name": null,
"bank_alias": null,
"status": "waiting_payment",
"error_message": null,
"error_code": null,
"truncated_card": null,
"holder_name": null,
"holder_document": null,
"billet_url": null,
"billet_barcode": null,
"billet_date": null,
"billet_our_number": null,
"billet_document_number": null,
"billet_whatsapp_link": "https://api.whatsapp.com/send?
phone=5599999999999&text=",
"antifraud_sale_id": null,
"antifraud_status": null,
"antifraud_score": null,
"sent_to_antifraud": false,
"total_logs": 0,
"capture_date": null,
"authorized_at": {
"date": "2025-04-17 14:09:55.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"captured_at": null,
"cancelled_at": null,
"can_be_captured": true,
"can_be_cancelled": true,
"created_at": {
"date": "2025-04-17 14:09:55.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2025-04-17 14:09:55.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"payment": {
"data": {
"id": 43,
"alias": "pix",
"name": "Pix",
"has_config": false,
"active_config": false,
"is_credit_card": false,
"is_deposit": false,
"is_billet": false,
"is_pix": true,
"is_pix_in_installments": false,
"is_wallet": false,
"icon_url": "https://icons.yampi.me/svg/card-pix.svg"
}
},
"metadata": {
"data": {
"pix_expiration_date": "2025-04-17 14:39:54",
"pix_qr_code": "0002012****************************2F15"
}
}
}
]
},
"search": {
"data": {
"payment_id": 43,
"antifraud_status": null,
"affiliation_id": 123456,
"products_ids": [
123456
],
"gateway_transaction_id": "123456",
"created_at": "2025-04-17",
"updated_at": "2025-04-17",
"captured_at": null,
"cancelled_at": null,
"date_delivery": "2025-04-18",
"inventory_ids": [
399638
],
"payment_method": "pix",
"payment_retry": false,
"has_upsell": false,
"has_order_bump": false,
"has_freebie": false,
"upsell_ids": [],
"order_bump_ids": [],
"freebie_ids": []
}
},
"services": {
"data": [
{
"shopifyapp": {
"external_id": "123456",
"link": "https://lo*****o.myshopify.com/admin/orders/123456"
}
}
]
},
"spreadsheet": {
"data": [
{
"product": "Teste",
"sku": "123456",
"quantity": 1,
"total_cost": 0,
"total_item": 0,
"customization": "",
"payment_date": "",
"cancelled_date": "",
"customer": "Teste Yampi",
"customer_email": "iagoympteste@gmail.com",
"customer_phone": "99999999999",
"customer_document": "123456",
"status": "Aguardando pagamento",
"payment": "Pix",
"credit_card": null,
"delivered": 0,
"shipping_address": "Praca dos Andradas, 1 - Centro",
"shipping_street": "Praca dos Andradas",
"shipping_number": "1",
"shipping_neighborhood": "Centro",
"shipping_complement": "",
"shipping_city": "Santos",
"shipping_state": "Sao Paulo",
"shipping_zip_code": "11010100",
"gateway_transaction_id": "123456",
"billet_barcode": null
}
]
},
"metadata": {
"data": [
{
"key": "cart_id",
"value": "123456"
},
{
"key": "discount_highlight",
"value": "pix"
},
{
"key": "platform",
"value": "shopify"
},
{
"key": "platform_order_number",
"value": "123456"
},
{
"key": "source_platform",
"value": "shopify"
}
]
},
"pix": {
"data": {
"pix_qr_code": "0002012*******************************************2F15",
"pix_expiration_date": "2025-04-17 14:39:54"
}
},
"whatsapp": {
"data": {
"abandoned_cart": null,
"order_shipped": null,
"billet": null,
"pix": {
"message": "Oi Teste. O seu pedido foi reservado com sucesso.%0a%0a*1 -
Teste*%0a%0aPara garantir os seus produtos, você precisa pagar o PIX o mais rápido
possível, tá? Para pagar, copie e cole o texto abaixo no Aplicativo onde você
configurou suas chaves PIX: %0a
%0a0002012*************************************************************************
****************2F15",
"link": "https://api.whatsapp.com/send?phone=5599999999999&text=Oi Teste.
O seu pedido foi reservado com sucesso.%0a%0a*1 - Teste*%0a%0aPara garantir os seus
produtos, você precisa pagar o PIX o mais rápido possível, tá? Para pagar, copie e
cole o texto abaixo no Aplicativo onde você configurou suas chaves PIX: %0a
%0a0002012****************************************2F15"
},
"payment_link": null
}
},
"whatsapp_app": {
"data": {
"abandoned_cart": null,
"order_shipped": null,
"billet": null,
"pix": {
"message": "Oi Teste. O seu pedido foi reservado com sucesso.%0a%0a*1 -
Teste*%0a%0aPara garantir os seus produtos, você precisa pagar o PIX o mais rápido
possível, tá? Para pagar, copie e cole o texto abaixo no Aplicativo onde você
configurou suas chaves PIX: %0a
%0a0002012*****************************************************2F15",
"link": "whatsapp://send?phone=5599999999999&text=Oi Teste. O seu pedido
foi reservado com sucesso.%0a%0a*1 - Teste*%0a%0aPara garantir os seus produtos,
você precisa pagar o PIX o mais rápido possível, tá? Para pagar, copie e cole o
texto abaixo no Aplicativo onde você configurou suas chaves PIX: %0a
%0a0002012*****************************************************2F15
},
"payment_link": null
}
}
}
}