delete offer
DELETE https://api.suger.cloud/org/{orgId}/offer/{offerId}
The offer is soft deleted (marked as DELETED status) in Suger service. Only the offer with status = "DRAFT", "CREATE_FAILED", "EXPIRED" or "CANCELLED" is allowed to be deleted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
offerId | path | string | yes | Offer ID |
Responses
200 — Empty string if deletion is successful
Content-Type: application/json
400 — Bad request error
Content-Type: application/json
404 — Not found error
Content-Type: application/json
500 — Internal error
Content-Type: application/json