List All Sell Requests
Returns a list of your sell requests. The results are returned sorted by updated date, with the most recently updated requests appearing first.
curl -X GET "https://api.ezewholesale.com/api/v1/sell-requests?take=2&page=1" \
-H "x-api-key:your-api-key" \
-H 'Content-Type: application/json'
{
"status": 200,
"description": "Data fetched successfully",
"data": {
"total": 146,
"data": [
{
"id": "785d59c9-244d-4f7e-aeaa-a7c0f92e0d36",
"name": "Galaxy A32 5G",
"category": "Cell Phones",
"brand": "Samsung",
"price": 6,
"msrp": 1000,
"sku": "SA32-BLK-64GB",
"status": "open",
"updatedAt": "2023-09-04T17:29:34.976Z",
"quantity": 12,
"properties": {
"color": "mixed colors",
"grade": "New",
"carrier": "Unlocked",
"storage": "64GB"
},
"seller": "6a2b01da-a5f8-4768-9985-8abc5a2e16f8",
"imgUrl": "https://storage.googleapis.com/ezetradein-gs-cld/ezetradein-website/products/samsung/Galaxy_A32_5G.png",
"minQuantity": 1,
"createdAt": "2023-09-04T17:29:34.976Z"
},
{
"id": "767c0b43-8056-4169-bc6a-1dcdadd88266",
"name": "iPhone 14 Pro",
"category": "Cell Phones",
"brand": "Apple",
"price": 283,
"msrp": 1200,
"sku": "A14-BLK-256GB",
"status": "open",
"updatedAt": "2023-09-04T16:23:29.221Z",
"quantity": 100,
"properties": {
"color": "purple",
"grade": "New",
"carrier": "Carrier Locked",
"storage": "256GB"
},
"seller": "6a2b01da-a5f8-4768-9985-8abc5a2e16f8",
"imgUrl": "https://fdn2.gsmarena.com/vv/pics/apple/apple-iphone-14-pro-3.jpg",
"minQuantity": 1,
"createdAt": "2023-09-04T16:23:29.221Z"
}
]
}
}Query Parameters
page Optional
Default: 1
Page number to fetch from.
take Optional
Default: 10
The number of records to return.
searchTerm Optional
Return results with their name having a full or partial match to the value provided.
sortDir Optional
Default: DESC
Sort result in ascending (ASC) or descending (DESC)order.