{
"type": "delivery",
"pickupInfo": {
"pickupDateTime": "2019-08-24T14:15:22Z",
"estimationTime": 0,
"pickupBranchId": "string"
},
"deliveryInfo": {
"deliveryType": "b2b",
"b2bInfo": {
"trackingNumber": "string",
"transportCompany": "string",
"deliveryFee": 0,
"shipmentDetails": {
"shipmentMethod": "car",
"shipmentDate": "2019-08-24T14:15:22Z",
"shipmentStatus": "pendin",
"estimationDeliveryDate": "2019-08-24T14:15:22Z",
"dorToDorShipmentCost": 0,
"shipmentOrigin": {
"country": "string",
"city": "string",
"area": "string",
"address": "string",
"latitude": 0,
"longitude": 0
},
"shipmentDestination": {
"country": "string",
"city": "string",
"area": "string",
"address": "string",
"latitude": 0,
"longitude": 0
}
}
},
"b2cInfo": {
"customerAddress": {
"country": "string",
"city": "string",
"area": "string",
"address": "string",
"latitude": 0,
"longitude": 0
},
"deliveryFee": 0,
"deliveryTime": "2019-08-24T14:15:22Z",
"branchId": "string"
}
},
"totalDiscountValue": 0,
"paymentInfo": {
"status": "paid",
"payments": [
{
"paymentMethod": "cash",
"paymentStatus": "paid",
"paymentDate": "2019-08-24T14:15:22Z",
"paymentAmount": 0,
"paymentNumber": "string",
"paidTo": "buyer",
"attachment": {
"url": "string",
"name": "string"
}
}
]
},
"invoiceNumber": "string",
"status": "string",
"subTotalPrice": 0,
"totalPrice": 0,
"buyerInfo": {
"id": "string",
"fullName": "string",
"email": "user@example.com",
"countryCode": "string",
"phone": "string",
"location": {
"country": "string",
"city": "string",
"area": "string",
"address": "string",
"latitude": 0,
"longitude": 0
},
"type": "buyer"
},
"vendorInfo": {
"id": "string",
"fullName": "string",
"email": "user@example.com",
"countryCode": "string",
"phone": "string",
"location": {
"country": "string",
"city": "string",
"area": "string",
"address": "string",
"latitude": 0,
"longitude": 0
},
"type": "buyer"
},
"orderItems": [
{
"itemId": "string",
"name": {
"en": "string",
"ar": "string"
},
"quantity": 0,
"pricePerUnit": 0,
"discount": 0,
"attributes": [
{}
],
"branchId": "string",
"type": "product"
}
],
"code": "string",
"documents": [
{
"file": {
"url": "string",
"name": "string"
},
"title": "string"
}
],
"comments": [
{
"comment": "string",
"date": "2019-08-24T14:15:22Z",
"userName": "string",
"userType": "string",
"userId": "string"
}
],
"logHistory": [
{
"action": "created",
"description": "string",
"date": "2019-08-24T14:15:22Z"
}
],
"quotationId": "string",
"userId": "string"
}