Driffle Seller API
  • Driffle Seller API
  • Guide
    • Getting Started
    • Monitoring Your Competition
  • FAQ
    • Cannot use the API, it throws 401/403/404 errors
  • Reference
    • Automate Your Stock with "Declare Stock"
    • API Reference
      • Products
        • Get Products List
        • Get Single product
        • Get Product Commission
      • Competition
      • Offers (Auction)
        • Offers List
        • Get Single Offer
        • Update Offer Price
        • Enable/Disable Offers
        • Create a new offer
        • Update Offer
        • Bulk Update Offers
      • Manage Inventory/Stock
        • Declare Stock
        • Upload Stock
        • Inventory Actions
        • Fetch a single Key
      • Transactions
        • Get Transactions List
        • Get a Single Transaction
      • Dashboard Stats
      • Regions
      • Platforms
Powered by GitBook
On this page
  1. Reference
  2. API Reference
  3. Offers (Auction)

Enable/Disable Offers

PreviousUpdate Offer PriceNextCreate a new offer

Last updated 1 year ago

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
}
{
    "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
}