Bu metod satıcıya ait paket bilgilerine ulaşmanıza olanak tanır.
NOT 1: Paketlerin iki statüsü vardır, open ve unpacked Open statüsündeki paket gönderime hazır anlamına gelirken, Unpacked statüsündeki paket bozulmuş paket anlamına gelmektedir.
Başlık(Header)
Authorization: Basic base64(username:password)
Content-Type: application/json
Parametreler(Parameters)
Merchantid (gerekli, guid, b2910839-83b9-4d45-adb6-86bad457edcb) Her satıcının unique bir tanımlayıcısıdır.
İstek(Request)
https://oms-external-sit.Uztrendbol.com/packages/merchantid/{merchantid}?timespan=24
Response
[
{
"id": "c25a7993-d23d-4cf2-bdb6-0022397fe83b",
"status": "Open",
"customerId": "ea8791d0-4cc8-4ae0-985f-f294761b559f",
"orderDate": "2018-12-23T13:28:27.4518986",
"dueDate": "2018-12-28T12:00:00",
"unpackedDate": null,
"barcode": "6220131054891",
"packageNumber": "013105889",
"cargoCompany": "Aras Kargo",
"shippingAddressDetail": "Test Mahallesi Test Sokak No: 12 Daire: 5 ETİLER BEŞİKTAŞ İstanbul",
"recipientName": "Test User",
"shippingCountryCode": "TR",
"shippingDistrict": "ETİLER",
"shippingTown": "BEŞİKTAŞ",
"shippingCity": "İstanbul",
"email": "test@Uztrendbol.com",
"phoneNumber": "",
"companyName": "Test User",
"billingAddress": "Test Mahallesi Test Sokak No: 12 Daire: 5 ETİLER BEŞİKTAŞ İstanbul",
"billingCity": "İstanbul",
"billingTown": "BEŞİKTAŞ",
"billingDistrict": "ETİLER",
"taxOffice": "",
"taxNumber": "",
"identityNo": "92518203950",
"items": [
{
"lineItemId": "c3539a0c-7916-4c0d-b14d-6545bb34125c",
"listingId": "88b454b7-8918-4ee7-a620-79b874b3a54a",
"merchantId": "c80b7d97-0658-4efe-93b1-b2f2aa9f7b7e",
"hbSku": "HBV00000751ZK",
"merchantSku": "8681816079514",
"quantity": 1,
"price": {
"currency": "TRY",
"amount": 59.99
},
"vat": 4.44,
"totalPrice": {
"currency": "TRY",
"amount": 59.99
},
"commission": {
"currency": "TRY",
"amount": 4.27
},
"unitHBDiscount": {
"currency": "TRY",
"amount": 11.9988
},
"totalHBDiscount": {
"currency": "TRY",
"amount": 11.9988
},
"merchantUnitPrice": {
"currency": "TRY",
"amount": 71.9888
},
"merchantTotalPrice": {
"currency": "TRY",
"amount": 71.9888
},
"cargoPaymentInfo": "Seller",
"customizedText01": "",
"customizedText02": "",
"customizedText03": "",
"customizedText04": "",
"properties": [
{
"name": "",
"value": "M",
"displayName": "Beden"
},
{
"name": "",
"value": "Lacivert",
"displayName": "Renk"
}
],
"productName": "Defacto Erkek Eşofman Altı",
"orderNumber": "0075918006",
"orderDate": "2018-12-23T13:28:27.4518986",
"deliveryType": "Standart Teslimat",
"customerDelivery": null,
"pickupTime": null
}
]
},
{
"id": "8530a1e0-e51e-4a81-80d8-e1247a4cbd40",
"status": "Unpacked",
"customerId": "7e596978-7805-4f59-8a0c-97f56eb5f4a9",
"orderDate": "2018-12-23T18:49:43.7530826",
"dueDate": "2018-12-28T12:00:00",
"unpackedDate": null,
"barcode": "6229826405538",
"packageNumber": "982640553",
"cargoCompany": "Aras Kargo",
"shippingAddressDetail": "Test Mahallesi Test Caddesi Merkez/BATMAN MERKEZ MERKEZ Batman",
"recipientName": "Test Customer",
"shippingCountryCode": "TR",
"shippingDistrict": "MERKEZ",
"shippingTown": "MERKEZ",
"shippingCity": "Batman",
"email": "customer@Uztrendbol.com",
"phoneNumber": "",
"companyName": "Test Customer",
"billingAddress": "Test Mahallesi Test Caddesi Merkez/BATMAN MERKEZ MERKEZ Batman",
"billingCity": "Batman",
"billingTown": "MERKEZ",
"billingDistrict": "MERKEZ",
"taxOffice": "",
"taxNumber": "",
"identityNo": "99999999999",
"items": [
{
"lineItemId": "523086bf-a161-4b68-8a61-a12f753f9db4",
"listingId": "f0282d7c-23d2-49e5-92d8-d99db5e0b58c",
"merchantId": "c80b7d97-0658-4efe-93b1-b2f2aa9f7b7e",
"hbSku": "HBV00000F5570",
"merchantSku": "8681816504597",
"quantity": 1,
"price": {
"currency": "TRY",
"amount": 19.49
},
"vat": 1.44,
"totalPrice": {
"currency": "TRY",
"amount": 19.49
},
"commission": {
"currency": "TRY",
"amount": 1.39
},
"unitHBDiscount": {
"currency": "TRY",
"amount": 3.8988
},
"totalHBDiscount": {
"currency": "TRY",
"amount": 3.8988
},
"merchantUnitPrice": {
"currency": "TRY",
"amount": 23.3888
},
"merchantTotalPrice": {
"currency": "TRY",
"amount": 23.3888
},
"cargoPaymentInfo": "Seller",
"customizedText01": "",
"customizedText02": "",
"customizedText03": "",
"customizedText04": "",
"properties": [
{
"name": "",
"value": "Haki",
"displayName": "Renk"
}
],
"productName": "Defacto Erkek İçi Yünlü Kamuflaj Desenli Pilot Şapka",
"orderNumber": "0070585157",
"orderDate": "2018-12-23T18:49:43.7530826",
"deliveryType": "Standart Teslimat",
"customerDelivery": null,
"pickupTime": null
}
]
}
İstek(Request)
https://oms-external.Uztrendbol.com/packages/merchantid/{merchantid}?beginDate=2019-07-25 11:00&endDate=2019-07-25 12:00
Response
[
{
"id": "c25a7993-d23d-4cf2-bdb6-0022397fe83b",
"status": "Open",
"customerId": "ea8791d0-4cc8-4ae0-985f-f294761b559f",
"orderDate": "2018-12-23T13:28:27.4518986",
"dueDate": "2018-12-28T12:00:00",
"unpackedDate": null,
"barcode": "6220131054891",
"packageNumber": "013105889",
"cargoCompany": "Aras Kargo",
"shippingAddressDetail": "Test Mahallesi Test Sokak No: 12 Daire: 5 ETİLER BEŞİKTAŞ İstanbul",
"recipientName": "Test User",
"shippingCountryCode": "TR",
"shippingDistrict": "ETİLER",
"shippingTown": "BEŞİKTAŞ",
"shippingCity": "İstanbul",
"email": "test@Uztrendbol.com",
"phoneNumber": "",
"companyName": "Test User",
"billingAddress": "Test Mahallesi Test Sokak No: 12 Daire: 5 ETİLER BEŞİKTAŞ İstanbul",
"billingCity": "İstanbul",
"billingTown": "BEŞİKTAŞ",
"billingDistrict": "ETİLER",
"taxOffice": "",
"taxNumber": "",
"identityNo": "92518203950",
"items": [
{
"lineItemId": "c3539a0c-7916-4c0d-b14d-6545bb34125c",
"listingId": "88b454b7-8918-4ee7-a620-79b874b3a54a",
"merchantId": "c80b7d97-0658-4efe-93b1-b2f2aa9f7b7e",
"hbSku": "HBV00000751ZK",
"merchantSku": "8681816079514",
"quantity": 1,
"price": {
"currency": "TRY",
"amount": 59.99
},
"vat": 4.44,
"totalPrice": {
"currency": "TRY",
"amount": 59.99
},
"commission": {
"currency": "TRY",
"amount": 4.27
},
"unitHBDiscount": {
"currency": "TRY",
"amount": 11.9988
},
"totalHBDiscount": {
"currency": "TRY",
"amount": 11.9988
},
"merchantUnitPrice": {
"currency": "TRY",
"amount": 71.9888
},
"merchantTotalPrice": {
"currency": "TRY",
"amount": 71.9888
},
"cargoPaymentInfo": "Seller",
"customizedText01": "",
"customizedText02": "",
"customizedText03": "",
"customizedText04": "",
"properties": [
{
"name": "",
"value": "M",
"displayName": "Beden"
},
{
"name": "",
"value": "Lacivert",
"displayName": "Renk"
}
],
"productName": "Defacto Erkek Eşofman Altı",
"orderNumber": "0075918006",
"orderDate": "2018-12-23T13:28:27.4518986",
"deliveryType": "Standart Teslimat",
"customerDelivery": null,
"pickupTime": null
}
]
}