COLUMN_NAME
|
DATA_TYPE
|
DESCRIPTION
|
DEFINITION
|
VALUE EXAMPLE
|
order_id

|
INTEGER NOT NULL
|
Identifier of the order
|
Numerical
|
10297
|
order_uuid

|
CHAR NOT NULL
|
Universally unique identifier
|
Alphanumeric
|
239fac12-3f23-11ed-936c-1a67b454859d
|
order_code
|
VARCHAR NOT NULL
|
A unique code that is assigned to each order for the customers reference
|
Alphanumeric
|
7IHA1
|
store_id

|
INTEGER NOT NULL
|
Identifier of the store
|
Numerical
|
2
|
brand_id

|
INTEGER NOT NULL
|
Identifier of the brand
|
Numerical
|
1
|
source_source_region
|
VARCHAR
|
The source_region code of the brand
|
us
|
US
|
external_reference
|
VARCHAR
|
Unique identifier provided for each external order
|
Alphanumeric or NULL
|
0E484BAA-4DFA-4DFC-A753-80319ED96E2C
|
external_code
|
VARCHAR
|
Unique identifier provided for each external order
|
Alphanumeric or NULL
|
8VK30
|
external_channel
|
VARCHAR
|
Identifier which external channel provider is used
|
UberEats =2,
|
UberEats
|
ticket_id
|
INTEGER NOT NULL
|
A unique number of the of the order
|
Numeric
|
1
|
foodspot_id
|
INTEGER
|
A unique number of the foodspot location
|
Numeric or NULL
|
2
|
customer_account_id

|
INTEGER NOT NULL
|
A unique number of the customer account
|
Numeric or NULL
|
4018
|
pos_ticket_id
|
VARCHAR
|
A unique number of the of the order
|
Numeric or NULL
|
11297
|
order_type_id

|
VARCHAR
|
Identifier of the type of order
|
Dine in (FS) =1, Dine in (QS) =4, Takeaway =6, Delivery =7, Curbside =8, Foodspot =9
|
Takeaway
|
order_type
|
VARCHAR
|
Identifier of the type of order
|
Dine in (FS) =1, Dine in (QS) =4, Takeaway =6, Delivery =7, Curbside =8, Foodspot =9
|
Takeaway
|
Order_Schedule
|
VARCHAR
|
Identifer of the order urgency type
|
Scheduled, ASAP
|
ASAP
|
is_reorder
|
VARCHAR
|
Identifier user to identify reorders
|
TRUE =1, FALSE =0
|
TRUE
|
trigger_type
|
VARCHAR
|
Identifier when the order is sent to the store
|
Timed Fire =1 , Trigger Fire =2
|
Timed Fire
|
send_attempts
|
TINYINT
|
The number of attempts the order has been sent to the POS
|
Numeric or NULL
|
0
|
current_order_status
|
VARCHAR
|
The status of the order
|
Init, SendDelayed, SendTried, Sent, Ready, Final, Canceled, Faile
|
Final
|
payment_status
|
VARCHAR
|
The payment status of the order
|
Paid, unpaid, RefundedFully, Voided, Failed
|
Paid
|
fraud_detection_status
|
VARCHAR
|
The fraud detection status for the payment
|
Declined, Approved or Not Reviewed
|
Declined
|
fiscal_status
|
VARCHAR
|
The overall status of the payment
|
Success, Failed, Cancelled
|
Failed
|
Error_Type
|
VARCHAR
|
The error type why the order failed
|
Payment Processor Exception, POS Exception, Order Exception, Query Exception, Config Validation Exception
|
Order Exception
|
application_type
|
VARCHAR
|
Identifier as to which channel the order was place via
|
SpecificMobileApplication, SpecificKioskApplication, SpecificWebApplication, SpecificMarketingWebApplication
|
SpecificMobileApplication
|
fiscalization_number
|
VARCHAR
|
Unique identifier provided for each order for tax purposes
|
Numeric or NULL
|
NULL
|
calculation_method
|
CHAR
|
Identifier if tax is included in the price
|
inclusive, excluded
|
inclusive
|
subtotal
|
INTEGER
|
The cost of the goods before tax or delivery costs are added
|
Numeric or NULL
|
12
|
total
|
INTEGER
|
The total order amount chargeable for the costs of goods and services inclusive of taxes
|
Numeric or NULL
|
12
|
discount
|
INTEGER
|
The total amount subtracted from the total amount
|
Numeric or NULL
|
5
|
discount_redemption_id
|
INTEGER
|
Identifier which discount redemption offer was used for the order
|
Numeric or NULL
|
8
|
subsidy
|
INTEGER
|
An indirect payment amount due as part of a government or brand program
|
Numeric or NULL
|
1
|
delivery_fee_tax_rate
|
DECIMAL
|
The percentage of the delivery amount taxable
|
Numeric or NULL
|
0
|
tip
|
INTEGER
|
A total amount given as a gratuity for goods or services
|
Numeric or NULL
|
0
|
tip_rate
|
DECIMAL
|
The percentage of the tax amount taxable
|
Numeric or NULL
|
0
|
delivery_fee
|
INTEGER
|
The charge for the cost of delivering goods
|
Numeric or NULL
|
0
|
delivery_fee_tax
|
INTEGER
|
The tax charged for the delivery charge sold
|
Numeric or NULL
|
0
|
minimum_surcharge
|
INTEGER
|
Minimum charge is the higher of the rate minimum and the rate applied
|
Numeric or NULL
|
0
|
minimum_surcharge_tax
|
INTEGER
|
Tax applied to that is added to the cost of a good or service
|
Numeric or NULL
|
0
|
minimal_order_amount
|
INTEGER
|
The smallest value of products the order must meet to qualify for delivery
|
Numeric or NULL
|
0
|
tax
|
INTEGER
|
Consumption tax amount on goods and service
|
Numeric or NULL
|
77
|
tax_rates
|
INTEGER
|
The percentage of the total amount taxable for goods for order types, in venue and takeout
|
Numeric or NULL
|
{"10":3}
|
send_at
|
TIMESTAMP
|
The time that the order was sent to the POS system
|
Date and time or NULL
|
8/22/2019 8:15
|
preparation_time
|
INTEGER
|
The preparation type of the order type
|
Numeric or NULL
|
5
|
ready_at
|
TIMESTAMP
|
The time the order was ready
|
Date and time or NULL
|
11/22/2019 15:19
|
pickup_at
|
TIMESTAMP
|
The time that the order is to be collect from the store
|
Date and time or NULL
|
8/22/2019 8:15
|
pickup_code
|
INTEGER
|
A unique code that is assigned to each order for the customers reference
|
Numeric or NULL
|
463
|
delivery_delay_time
|
INTEGER
|
The new delivery time when a venue has opted to delay the delivery
|
Date and time or NULL
|
8/22/2019 8:15
|
delivery_status
|
VARCHAR
|
The delivery status of the order
|
Scheduled, Readyfordelivery, Pickup, Delivered, Rejected, Failed
|
Delivered
|
delivery_at
|
TIMESTAMP
|
The final delivery date and time
|
Date and time or NULL
|
11/22/2019 15:22
|
ready_at
|
TIMESTAMP
|
The time the order was ready
|
Date and time or NULL
|
11/22/2019 15:19
|
is_customer_arrived
|
VARCHAR
|
TRUE =1, FALSE =0
|
TRUE =1, FALSE =0
|
FALSE
|
arriving_at
|
TIMESTAMP
|
The time the customer arrived at the venue
|
Numeric or NULL
|
NULL
|
regret_cancel_until
|
TIMESTAMP
|
The the time window in which a customer can cancel their order
|
Numeric or NULL
|
NULL
|
cancellation_reason
|
VARCHAR
|
The reason for why an order was cancelled
|
item unavailable =1, store closed =2, customer requested =3, no picker =4, late delivery=5, too busy =6, no response =7, technical problem=8, cannot fulfil order =9, other =10 or NULL
|
NULL
|
order_status_created_at_ts_utc
|
TIMESTAMP
|
Date and time of the order status
|
Date and time or NULL
|
9/23/2019 9:56
|
order_created_at_ts_utc
|
TIMESTAMP
|
Date and time of order creation
|
Date and time or NULL
|
9/23/2019 9:56
|
order_updated_at_ts_utc
|
TIMESTAMP
|
Date and time of the last order update
|
Date and time or NULL
|
9/25/2019 12:20
|
Comments
0 comments
Please sign in to leave a comment.