Skip to main content
DELETE
/
admin
/
offers
/
{id}
curl -X DELETE 'http://localhost:9000/admin/offers/offer_01HXYZ8Q2M4N6P8R0T2V4W6X8Y' \
  -H 'Authorization: Bearer <token>'
{
  "id": "offer_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
  "object": "offer",
  "deleted": true
}
Deletes an offer by ID.

Path parameters

id
string
required
The offer’s ID.

Response

id
string
The deleted offer’s ID.
object
string
The object type: offer.
deleted
boolean
Whether the offer was deleted.
curl -X DELETE 'http://localhost:9000/admin/offers/offer_01HXYZ8Q2M4N6P8R0T2V4W6X8Y' \
  -H 'Authorization: Bearer <token>'
{
  "id": "offer_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
  "object": "offer",
  "deleted": true
}