Bulk Update Offers
The following API allow you to update multiple offers/auctions at once on Driffle.
Maximum of 100 offers can be updated in a single API call.
warning
Rate Limiting applies to this API endpoint and is set to 1 request per 5 seconds.
PATCH /offer/bulk-update
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Body
{
"offers": [
{
"offerId": 0,
"yourPrice": 0,
"retailPrice": 0,
"toggleOffer": "disable",
"declaredStock": 100000,
"auctionedKeys": 100,
"wholesale": {
"enabled": true,
"tiers": [
{
"level": 1,
"discount": 10
},
{
"level": 2,
"discount": 15
}
]
}
}
]
}
| Param | Description | Param Type | Type | Required |
|---|---|---|---|---|
| offerId | ID of the Offer | body | number | Yes |
| yourPrice | "You get" price. commission will be applied to this price. | body | number | No |
| retailPrice | "Retail Price" is the price after commission. Buyers will see this price | body | number | No |
| toggleOffer | "enable" or "disable" offer | body | string | No |
| declaredStock | Number of keys to sell through declared stock feature - optional | body | number | No |
| auctionedKeys | Maximum number of orders you can accept for a product - optional (Only in preReleased products) | body | number | No |
| wholesale | Specifies wholesale enable status and tier-based discounts by purchase quantity. Wholesale Pricing Feature | body | {"enabled":true,"tiers":[{"level":1,"discount":10},{"level":2,"discount":15}]} | No |
Response
- 200
- 400
- 401
- 403
- 500
{
"message": "string",
"statusCode": 200,
"data": {
"successOffers": [
{
"offerId": 0,
"status": true,
"message": "string",
"data": "string"
}
],
"failedOffers": [
{
"offerId": 0,
"status": true,
"message": "string",
"data": "string"
}
]
}
}
{
"message": "Bad Request. Wrong/Invalid params format.",
"statusCode": 400
}
{
"message": "UnAuthorized request. Invalid/Expired token",
"statusCode": 401
}
{
"message": "Forbidden Request. Action not allowed or Rate Limit exhausted.",
"statusCode": 403
}
{
"message": "Internal Server Error",
"statusCode": 500
}
Last updated 5 October 2025