Offers List
This API returns a paginated list of Offers/Auctions created on Driffle.
Supported arguments
GET /offers
Headers
Content-Type
application/json
Authorization
Bearer <token>
Params
page
query
string
No
Page number. Use this to traverse through your list of keys. Default value: 1
pid
query
number
No
Product Id
s
query
string
No
Search Phrase. Can be used to search for an offer using title.
srt
query
string
No
Sorting mechanism. Supported values: pd - Price descending, pa - Price ascending, lastSoldAsc - Last sold ascending, lastSoldDesc - Last sold descending
f
query
string
No
Comma separated Filters. Supported values: Out of stock products , Low in stock products , Best selling products , Only pre released product,
Disabled products
status
query
string
No
active, inactive, disabled-by-admin Represents the current state of the offer.
automatePriceStatus
query
string
No
enable, disable Indicates whether Automate Pricing is active for this offer.
Response
{
"message": "string",
"statusCode": 200,
"totalPages": 0,
"totalCount": 0,
"data": [
{
"offerId": 0,
"product": {
"id": 0,
"title": "string",
"productStatus": "string"
"isPreReleased" 0
},
"unitsSold": 0,
"onHand": 0,
"status": 0,
"sellingPrice": {
"amount": 0,
"currency": "string"
},
"commission": {
"amount": 0,
"currency": "string",
"type": "string"
},
"listingPrice": {
"amount": 0,
"currency": "string"
},
"isLowest": true,
"lowestPrice": {
"amount": 0,
"currency": "string"
},
"declaredStockKeys": 0,
"declaredStockReservedKeys": 0,
"inventoryReservedKeys": 0
}
]
}Last updated