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)

Bulk Update Offers

The following API allow you to update multiple offers/auctions at once on Driffle.

Maximum of 100 offers can be updated in a single API call.

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

PATCH /offer/bulk-update

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

{
  "offers": [
    {
      "offerId": 0,
      "yourPrice": 0,
      "retailPrice": 0,
      "toggleOffer": "disable",
      "declaredStock": 100000
    }
  ]
}
Param
Description
Param Type
Type
Required

offerId

ID of the Offer

body

number

Yes

yourPrice

"You get" price. commission will be applied to this price.

body

number

No

retailPrice

"Retail Price" is the price after commission. Buyers will see this price

body

number

No

toggleOffer

"enable" or "disable" offer

body

string

No

declaredStock

Number of keys to sell through declared stock feature - optional

body

string

No

Response

{
  "message": "string",
  "statusCode": 200,
  "data": {
    "successOffers": [
      {
        "offerId": 0,
        "status": true,
        "message": "string",
        "data": "string"
      }
    ],
    "failedOffers": [
      {
        "offerId": 0,
        "status": true,
        "message": "string",
        "data": "string"
      }
    ]
  }
}
{
    "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
}
PreviousUpdate OfferNextManage Inventory/Stock

Last updated 1 year ago