Set prices
Scope: inventory:write
Sets each variant's selling price and MRP. The discount shown to shoppers is worked out from them. Up to 100 lines. Each line succeeds or fails on its own, so the response is 200 even when some lines fail: check status on every line.
sellerApiKeyAuthorizationBearer <bbsk_live_…>A Seller API key, bbsk_live_…
application/json- body
items*array<>1 <= items <= 100application/json- response
results*array<>summary*curl -X PUT 'https://api.bhaktibaazar.com/seller-api/v1/prices' \ -H 'Content-Type: application/json' \ -d '{ "items": [ { "price": 499, "mrp": 799 } ]}'{ "results": [ { "index": 0, "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf", "sellerSku": "string", "status": "updated", "error": { "code": "STALE_STOCK", "message": "string", "currentStock": 0 }, "price": 0, "mrp": 0, "discountPercentage": 0 } ], "summary": { "updated": 0, "unchanged": 0, "failed": 0 }}Set stock PUT
Sets each variant's stock to an absolute number. Up to 100 lines. Each line succeeds or fails on its own, so the response is 200 even when some lines fail: check status on every line. Stock is reduced the moment an order is confirmed; send expectedStock so a stock count taken before an order came in cannot overwrite it.
Accept an order POST
Moves an ordered order to accepted, as the portal’s Accept button does. Accepting an order that is already accepted (or further along) changes nothing and returns it, so retries are safe. A cancelled order answers 409 ORDER_NOT_ACCEPTABLE.