Enable/Disable Offers

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

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
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