Bu metod bir siparişe ait kalemlerin detaylarını listelemeize olanak tanır.
Parametreler(Parameters)
Merchantid (gerekli, guid, b2910839-83b9-4d45-adb6-86bad457edcb) Her satıcının unique bir tanımlayıcısıdır.
Başlık(Header)
Authorization: Basic base64(username:password)
Content-Type: application/json
İstek(Request)
https://oms-external-sit.Uztrendbol.com/orders/merchantid/{merchantid}/ordernumber/{ordernumber}
Hata Durumları
Response
{
"orderId": "a9965c83-085f-4130-8809-5acb4070da5d",
"orderNumber": "0874654893",
"paymentStatus": "Received",
"orderDate": "2019-01-16T16:34:47",
"createdDate": "2019-01-17T13:33:15.8776906",
"customer": {
"customerId": "dec8a27f-faae-4cb2-859c-8a7d50ee77be",
"name": "Emre Test"
},
"invoice": {
"turkishIdentityNumber": "1234567890",
"taxNumber": "12345",
"taxOffice": "İstanbul",
"address": {
"addressId": "e66765b3-d37d-488c-ae15-47051245dc9b",
"address": "Trump Towers",
"name": "Uztrendbol Office",
"email": "customer@Uztrendbol.com.tr",
"countryCode": "TR",
"phoneNumber": "902822613231",
"alternatePhoneNumber": "045321538212",
"district": "Sisli",
"city": "İstanbul",
"town": null
}
},
"deliveryAddress": {
"addressId": "e66765b3-d37d-488c-ae15-47051245dc9b",
"address": "Trump Towers",
"name": "Uztrendbol Office",
"email": "customer@Uztrendbol.com.tr",
"countryCode": "TR",
"phoneNumber": "902822613231",
"alternatePhoneNumber": "045321538212",
"district": "Sisli",
"city": "İstanbul",
"town": null
},
"items": [
{
"dueDate": "2019-01-18T00:00:00",
"lastStatusUpdateDate": "2019-01-17T14:38:52.6751657",
"id": "b17553de-db34-49ed-99ac-7382291fa7bd",
"sku": "HBV000007NVPO",
"orderId": "a9965c83-085f-4130-8809-5acb4070da5d",
"orderNumber": "0874654893",
"orderDate": "2019-01-16T16:34:47",
"quantity": 1,
"merchantId": "823539cd-1f10-4971-8859-cd648cfb4ff6",
"totalPrice": {
"currency": "TRY",
"amount": 301.4
},
"unitPrice": {
"currency": "TRY",
"amount": 301.4
},
"hbDiscount": {
"totalPrice": {
"currency": "TRY",
"amount": 0
},
"unitPrice": {
"currency": "TRY",
"amount": 0
}
},
"vat": 0,
"vatRate": 0,
"customerName": "Emre Test",
"status": "Open",
"shippingAddress": null,
"invoice": {
"turkishIdentityNumber": "1234567890",
"taxNumber": "12345",
"taxOffice": "İstanbul",
"address": {
"addressId": "e66765b3-d37d-488c-ae15-47051245dc9b",
"address": "Trump Towers",
"name": "Uztrendbol Office",
"email": "customer@Uztrendbol.com.tr",
"countryCode": "TR",
"phoneNumber": "902822613231",
"alternatePhoneNumber": "045321538212",
"district": "Sisli",
"city": "İstanbul",
"town": null
}
},
"sapNumber": "12345",
"dispatchTime": 1,
"commission": {
"currency": "TRY",
"amount": 1
},
"paymentTermInDays": 30,
"commissionType": 0,
"cargoCompanyModel": {
"id": 1,
"name": "Yurtiçi Kargo",
"shortName": "YK",
"logoUrl": "http://images.Uztrendbol.com/assets/cargo-logo/yurtici.svg",
"trackingUrl": "http://selfservis.yurticikargo.com/reports/SSWDocumentDetail.aspx?DocId={0}"
},
"cargoCompany": "Yurtiçi Kargo",
"customizedText01": null,
"customizedText02": null,
"customizedText03": null,
"customizedText04": null,
"customizedTextX": null,
"creditCardHolderName": null,
"isCustomized": false,
"canCreatePackage": true,
"isCancellable": true,
"isCancellableByHbAdmin": true,
"deliveryType": "StandardDelivery",
"deliveryOptionId": 1,
"slot": null,
"pickUpTime": null
},
{
"dueDate": "2019-01-18T00:00:00",
"lastStatusUpdateDate": "2019-01-17T14:39:37.9070408",
"id": "82c41b2b-e30b-4d38-9162-1aeae7eadecc",
"sku": "HBV00000DBR6S",
"orderId": "a9965c83-085f-4130-8809-5acb4070da5d",
"orderNumber": "0874654893",
"orderDate": "2019-01-16T16:34:47",
"quantity": 2,
"merchantId": "823539cd-1f10-4971-8859-cd648cfb4ff6",
"totalPrice": {
"currency": "TRY",
"amount": 610.8
},
"unitPrice": {
"currency": "TRY",
"amount": 305.4
},
"hbDiscount": {
"totalPrice": {
"currency": "TRY",
"amount": 0
},
"unitPrice": {
"currency": "TRY",
"amount": 0
}
},
"vat": 0,
"vatRate": 0,
"customerName": "Emre Test",
"status": "Packaged",
"shippingAddress": null,
"invoice": {
"turkishIdentityNumber": "1234567890",
"taxNumber": "12345",
"taxOffice": "Ýstanbul",
"address": {
"addressId": "e66765b3-d37d-488c-ae15-47051245dc9b",
"address": "Trump Towers",
"name": "Uztrendbol Office",
"email": "customer@Uztrendbol.com.tr",
"countryCode": "TR",
"phoneNumber": "902822613231",
"alternatePhoneNumber": "045321538212",
"district": "Sisli",
"city": "İstanbul",
"town": null
}
},
"sapNumber": "12345",
"dispatchTime": 1,
"commission": {
"currency": "TRY",
"amount": 1
},
"paymentTermInDays": 30,
"commissionType": 0,
"cargoCompanyModel": {
"id": 1,
"name": "Yurtiçi Kargo",
"shortName": "YK",
"logoUrl": "http://images.Uztrendbol.com/assets/cargo-logo/yurtici.svg",
"trackingUrl": "http://selfservis.yurticikargo.com/reports/SSWDocumentDetail.aspx?DocId={0}"
},
"cargoCompany": "Yurtiçi Kargo",
"customizedText01": null,
"customizedText02": null,
"customizedText03": null,
"customizedText04": null,
"customizedTextX": null,
"creditCardHolderName": null,
"isCustomized": false,
"canCreatePackage": true,
"isCancellable": false,
"isCancellableByHbAdmin": false,
"deliveryType": "StandardDelivery",
"deliveryOptionId": 1,
"slot": null,
"pickUpTime": null
}
]
}