Skip to main content

Enable/Disable Offers

This API endpoint lets you control your offers/auctions. You can choose to enable to disable them.

warning

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

PUT /offer/toggle

Headers

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Body

ParamParam TypeTypeRequiredDescription
offerIdbodynumberYesID of the Offer
typebodystringYesAction type. Supported values: disable, enable

Response

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

PUT https://services.driffle.com/api/seller/legacy/offer/toggle

Parameters

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

Request body (application/json)

FieldTypeRequiredDescription
offerIdnumberNo
typestringNoAllowed: disable, enable

Responses (application/json)

Default Response

FieldTypeRequiredDescription
messagestringNo
statusCodenumberNo

Sample request

PUT /api/seller/legacy/offer/toggle HTTP/1.1
Host: services.driffle.com
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 30

{
"offerId": 1,
"type": "disable"
}

Test it →

Sample response (200)

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

Last updated 5 October 2025