Skip to Content
Bhakti BaazarDevelopers
API referenceReturns

Get a return

GET
/returns/{returnId}

Scope: returns:read

Authorization

sellerApiKey
headerAuthorizationBearer <bbsk_live_…>

A Seller API key, bbsk_live_…

Path Parameters

returnId*string
Formatuuid

Response Body

application/json
  1. response
id*string
Formatuuid
orderId*string
Formatuuid
orderNumber*string|null
status*string

received_by_seller: you confirmed the parcel is back. completed: refunded and closed. qc_failed: the courier refused it at the door.

Value in"requested""approved""pickup_scheduled""pickup_failed""picked_up""in_transit""qc_failed""received_by_seller""completed""rejected""canceled"
resolution*string

pickup: the goods come back to you. refund_only: the customer keeps them.

Value in"pickup""refund_only"
exceptional*boolean

Raised by our team after the return window, rather than by the customer

lines*array<>
refundAmount*number

Total refund, in rupees

pickup*|null
requestedAt*string
Formatdate-time
approvedAt*|
Formatdate-time
pickedUpAt*|
Formatdate-time
receivedAt*|
Formatdate-time
refundedAt*|
Formatdate-time
completedAt*|
Formatdate-time
updatedAt*string

Pass the newest one as updated_since

Formatdate-time
Example Request
curl -X GET 'https://api.bhaktibaazar.com/seller-api/v1/returns/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",  "orderNumber": "string",  "status": "requested",  "resolution": "pickup",  "exceptional": true,  "lines": [    {      "lineId": "e698cdee-c4ef-4d12-b0ea-7c98b2fc64a8",      "sellerSku": "string",      "quantity": 1,      "reason": "damaged",      "status": "requested",      "refundAmount": 0    }  ],  "refundAmount": 0,  "pickup": {    "courierName": "string",    "awbCode": "string",    "status": "pending",    "scheduledPickupDate": "2019-08-24",    "qcStatus": "pending"  },  "requestedAt": "2019-08-24T14:15:22Z",  "approvedAt": "2019-08-24T14:15:22Z",  "pickedUpAt": "2019-08-24T14:15:22Z",  "receivedAt": "2019-08-24T14:15:22Z",  "refundedAt": "2019-08-24T14:15:22Z",  "completedAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}