Enable/Disable Offers
This API endpoint lets you control your offers/auctions. You can choose to enable to disable them.
Rate Limiting applies to this API endpoint and is set to 1 request per 3 seconds.
PUT
/offer/toggle
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Param
Param Type
Type
Required
Description
offerId
body
number
Yes
ID of the Offer
type
body
string
Yes
Action type. Supported values: disable
, enable
Response
{
"message": "string",
"statusCode": 200
}
put
Header parameters
AuthorizationstringRequired
Authorization token in Bearer format. Example: Bearer dvakycjgw8liyd278y
Body
offerIdnumberOptional
typestring · enumOptionalPossible values:
Responses
200
Default Response
application/json
400
Bad Request. Wrong/Invalid params format.
application/json
401
UnAuthorized request. Invalid/Expired token
application/json
403
Forbidden Request. Action not allowed or Rate Limit exhausted.
application/json
500
Server Error.
application/json
put
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"
}
{
"message": "text",
"statusCode": 1
}
Last updated