Skip to main content

Update Offer

The following API allow you to update an offer/auction on Driffle.

warning

Rate Limiting applies to this API endpoint and is set to 1 request per 3 seconds.

PATCH /offer/update

Headers

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Body

{
"offerId": 0,
"yourPrice": 0,
"retailPrice": 0,
"toggleOffer": "disable",
"declaredStock": 100000,
"auctionedKeys": 100,
"wholesale":{
"enabled": true,
"tiers": [
{
"level": 1,
"discount": 10
},
{
"level": 2,
"discount": 15
}
]
},
"automatePriceOptions": {
"lowerPriceLimit": 8.99,
"upperPriceLimit": 12.99,
"priceChangeFactor": 0.05,
"priceChangeInterval": 3600,
"automatePriceStatus": "enable"
}
}
ParamDescriptionParam TypeTypeRequired
offerIdID of the OfferbodynumberYes
yourPrice"You get" price. commission will be applied to this price.bodynumberNo
retailPrice"Retail Price" is the price after commission. Buyers will see this pricebodynumberNo
toggleOffer"enable" or "disable" offerbodystringNo
declaredStockNumber of keys to sell through declared stock feature - optionalbodystringNo
auctionedKeysMaximum number of orders you can accept for a product - optional (Only in preReleased products)bodynumberNo
wholesaleSpecifies 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
automatePriceOptionsconfigures automated price adjustments for an offer Automate Pricingbody{"lowerPriceLimit":8.99,"upperPriceLimit":12.99,"priceChangeFactor":0.05,"priceChangeInterval":3600,"automatePriceStatus":"enable"}No

Response

{
"message": "string",
"statusCode": 200,
"data": "string"
}

PATCH https://services.driffle.com/api/seller/legacy/offer/update

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringYesAuthorization token in Bearer <token> format. Example: Bearer dvakycjgw8liyd278y

Request body (application/json)

FieldTypeRequiredDescription
offerIdnumberYes
yourPricenumberNoYour price. Commission is calculated on this price
retailPricenumberNoRetail Price is the price after commission. Buyers will see this price
toggleOfferstringNoThis field expects either enable or disable keywords to update offer toggle. Allowed: disable, enable
declaredStocknumberNoMinimum: 0. Maximum: 100000

Responses (application/json)

Default Response

FieldTypeRequiredDescription
messagestringNo
statusCodenumberNo
dataanyNo

Sample request

PATCH /api/seller/legacy/offer/update HTTP/1.1
Host: services.driffle.com
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 85

{
"offerId": 1,
"yourPrice": 1,
"retailPrice": 1,
"toggleOffer": "disable",
"declaredStock": 1
}

Test it →

Sample response (200)

{
"message": "text",
"statusCode": 1,
"data": null
}

Last updated 15 October 2025