Skip to main content

Type OrderStatusDetails

No description

type OrderStatusDetails implements Actors, WithDriverLocation {
driverId: ObjectId
companyId: ObjectId
userId: ObjectId
user: ContactInfo
isSystemEvent: Boolean!
actorType: EnumActorType!
location: DriverLocation
sourceId: ObjectId!
orderStatus: EnumOrderStatus!
previousOrderStatus: EnumOrderStatus
orderInvoiceUrl: String
assignedDriver: Driver
}

Fields​

OrderStatusDetails.driverId ● ObjectId scalar​

OrderStatusDetails.companyId ● ObjectId scalar​

OrderStatusDetails.userId ● ObjectId scalar​

OrderStatusDetails.user ● ContactInfo object​

OrderStatusDetails.isSystemEvent ● Boolean! non-null scalar​

OrderStatusDetails.actorType ● EnumActorType! non-null enum​

OrderStatusDetails.location ● DriverLocation object​

OrderStatusDetails.sourceId ● ObjectId! non-null scalar​

OrderStatusDetails.orderStatus ● EnumOrderStatus! non-null enum​

OrderStatusDetails.previousOrderStatus ● EnumOrderStatus enum​

The order status before the change was made.

OrderStatusDetails.orderInvoiceUrl ● String scalar​

OrderStatusDetails.assignedDriver ● Driver object​

Used in case of assigning order to a driver

Interfaces​

Actors interface​

WithDriverLocation interface​

Implemented By​

EventDetails union