new_order (v1.0.0)
Published when a new order is received from a marketplace and successfully created in the ORDR system
Info
Details
This event is published by the seller-backend service when a new order is received from a marketplace (currently Shopee) and successfully created in the ORDR system.
Publisher: seller-backend Consumer: ORDR
Triggers:
- Webhook from marketplace (Shopee) indicating order is ready to ship (
READY_TO_SHIPstatus)
Flow:
- Shopee sends webhook to seller-backend
- seller-backend validates order and fetches order details from Shopee API
- seller-backend transforms order to ORDR format
- seller-backend creates order in a postgres database used by the service (SellerOrder, that has its own structure, common to any seller)
- seller-backend publishes
new_orderevent to Pub/Sub - ORDR consumes event and processes the order
Payload Structure:
tags: Event metadata (event_type, service_name, service_version, country_code, id, at)new_order: Complete ORDR order object with customer, items, address, delivery properties, etc.
Payload
Event metadata
Event unique identifier
Event type
new_orderService that published the event
Service version
Country code
brEvent timestamp
ORDR order object
Order unique identifier (Daki order ID)
Order currency
BRLHub ID where order will be fulfilled
Order name (short ID)
Order creation timestamp
Order processing timestamp
Financial status of the order
PAIDTotal order price (formatted as decimal string, e.g., '100.00')
Cart discount amount (formatted as decimal string)
Estimated time to arrive (minutes or range)
Default ETA value from hub
Entity type
personIdentification type
cpfCustomer document (CPF)
Delivery fee value (formatted as decimal string)
Original delivery fee amount
Delivery fee discount amount
Delivery type
INSTANT SCHEDULEDNotes for the rider
Delivery platform
RaioFull address
City
ZIP code
Province/State
Province code
Country name
Company name
Latitude coordinate
Longitude coordinate
Address owner name
First name
Country code
Street name
Street number
Neighbourhood/District
Apartment/Complement
Full address
City
ZIP code
Province/State
Province code
Country name
Company name
Latitude coordinate
Longitude coordinate
Address owner name
First name
Country code
Street name
Street number
Neighbourhood/District
Apartment/Complement
Full address
City
ZIP code
Province/State
Province code
Country name
Company name
Latitude coordinate
Longitude coordinate
Address owner name
First name
Country code
Street name
Street number
Neighbourhood/District
Apartment/Complement
Order line items
Product name
Item price (formatted as decimal string)
Item quantity
1Product SKU
Inventory ID
Total item price (formatted as decimal string)
Original price before discounts
Display unit price (formatted as decimal string)
Unit price (formatted as decimal string)
Grouped items identifier
Item origin
CARTBundle discount amount
Line item discount
Cart discount fraction applied to this item
Order note attributes
Attribute name
Attribute value
Customer first name
Customer phone number
Order units (one per item quantity)
Grouped items identifier
Currency code
BRLProduct SKU
Product name
Product origin
CARTInventory ID
Unit total price
Unit price
Display unit price
Original price before discounts
Total unit discounts
Order source (e.g., 'shopee')
Whether invoice is required
Hub assortment type
core plusExternal order ID (from marketplace)
Fulfillment hub ID for plus assortment
No properties match your search
Try a different search term or clear the search to see all properties