Skip to content

Refuse a listing's offer

DELETE
/api/v1/hub/offers/{org}/{brand}
curl --request DELETE \
--url http://localhost:3000/api/v1/hub/offers/example/example \
--header 'Authorization: Bearer <token>'

It isn’t your brand: it is offered no more. Organization admin.

Scope: admin.

org
required
string

The listing’s organization

brand
required
string

The listing’s brand

Refused

Media typeapplication/json
object
data
required
object
refused
required
boolean
Example
{
"data": {
"refused": true
}
}

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}