hepsiburada developers

hepsiburada developers

Did You Know?

İhtilaflı Talep Kabul/Red Bildirimi

Müşterilerin açtıkları taleplerin Hepsiburada tarafından (ihtilaflı statüdeki) talebin onay/red sonucunu bildirmede kullanılmaktadır.

İhtilaflı Talep Kabul Bildirimi

Endpoint(PUT)

				
					https://{merchant_api_baseUrl}/claims/accept				
			

Body - Örnek İstek

				
					{
   "claimNumber": "193839839",
   "type": "Return",
   "quantity": 1,
   "status": "Accepted",
   "customerId": "dfc8a27f-faae-4cb2-859c-8a7d50ee77be",
   "customerName": "Test User Test User",
   "orderNumber": "0414141341",
   "explanation": "test",
   "claimDate": "2021-08-19T08:22:23.01Z",
   "orderDate": "2021-05-10T09:34:09.446Z",
   "line": {
      "lineItemId": "6098fe11-a310-a819-2b77-b92c06060606",
      "productName": "SanDisk Dual Drive 128GB USB 3.0 OTG USB Bellek SDDD2-128G-GAM46",
      "listingId": "0ecb9895-3ed6-45fc-b462-338f3b30cd73",
      "merchantId": "b6d61df6-e2b1-4efd-bc73-4a9f2ffe0f73",
      "hbSku": "HBV000000SFXH",
      "merchantSku": "SDDD2-032G-GAM46",
      "price": {
         "currency": "TRY",
         "amount": 100.4
      },
      "totalPrice": {
         "currency": "TRY",
         "amount": 100.4
      },
      "productImageUrlFormat": "https://productimages.hepsiburada.net/s/0/{size}/9461996159026.jpg"
   },
   "acceptedBy": "Admin",
   "acceptedDate": "2021-08-19T08:25:01.994Z"
}				
			

Response

				
					204				
			

İhtilaflı Talep Red Bildirimi

Endpoint(PUT)

				
					https://{merchant_api_baseUrl}/claims/reject				
			

Body - Örnek İstek

				
					{
   "claimNumber": "262422303",
   "type": "Return",
   "quantity": 1,
   "status": "Rejected",
   "customerId": "dfc8a27f-faae-4cb2-859c-8a7d50ee77be",
   "customerName": "Test User Test User",
   "orderNumber": "0414153364",
   "explanation": "TEST",
   "claimDate": "2021-08-19T08:50:58.204Z",
   "orderDate": "2021-05-24T11:55:45.83Z",
   "line": {
      "lineItemId": "60ab9441-b844-55e9-1629-b58106060606",
      "productName": "Pilsan Black Thunder Akülü Araba",
      "listingId": "8bb088d8-2c55-4083-810d-653589430509",
      "merchantId": "b6d61df6-e2b1-4efd-bc73-4a9f2ffe0f73",
      "hbSku": "HBV0000048U1I",
      "merchantSku": "DMY0000123",
      "price": {
         "currency": "TRY",
         "amount": 1760
      },
      "totalPrice": {
         "currency": "TRY",
         "amount": 1760
      },
      "productImageUrlFormat": "https://productimages.hepsiburada.net/s/3/{size}/9594398146610.jpg"
   },
   "adminRejection": {
      "reason": "TheProductIsDamagedScratchedBrokenAndNoRecordIsAvailable",
      "statement": "Deneme 123"
   },
   "rejecttedDate": "2021-08-19T08:52:54.186Z"
}				
			

Response

				
					204				
			

Sayfa Başlıkları