Skip to main content
POST
/
{id}
/
cancel
Cancel offer
curl --request POST \
  --url https://api.sibipro.com/offers/{id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "offerId": "offer-123",
  "status": "CANCELED",
  "canceledAt": "2024-01-20T12:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the offer to cancel

Response

Offer canceled successfully

offerId
string
required

Unique identifier for the canceled offer

Example:

"offer-123"

status
string
required

Status of the offer after cancellation

Example:

"CANCELED"

canceledAt
string<date-time>
required

Timestamp when the offer was canceled

Example:

"2024-01-20T12:00:00Z"