Skip to navigation

Cancel a service request item

Beta

Cancels one service request item of your organization and returns it with status CANCELED. Items of type COLLECTION, STORE, TRANSFER or RETURN_TO_DEEL can be canceled while they are REQUESTED or PROCESSING and the collection packaging has not been sent. A REUSE item can be canceled while it is REQUESTED or PROCESSING. A REPAIR item can be canceled while it is REQUESTED or PROCESSING, its packaging has not been sent and your organization can still cancel the repair. Items of type ORDER, BYOD_ORDER, CLEARANCE, REPLACEMENT, LOANER or DELIVERY can never be canceled, and neither can a loaner asset or the collection that belongs to a replacement. Any other item, including one that is already canceled, returns 409. To cancel an order or a clearance request, use POST /rest/it/orders/{order_id}/cancel or POST /rest/it/clearance-requests/{clearance_request_id}/cancel.

Token scopes: it-service-requests:write

Beta: this version requires the X-Beta: true request header and its contract may change before it is promoted to stable. It is scheduled to become stable on 2027-03-02.

Authentication

AuthorizationBearer

Authentication

The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.

curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
  -H 'Authorization: Bearer YOUR-TOKEN-HERE'

Learn more about authentication

OR
AuthorizationBearer

Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Path parameters

service_request_item_idstringRequiredformat: "uuid"
Unique identifier of the service request item

Headers

X-BetaenumRequiredDefaults to true

Opts in to the beta version of this endpoint. Must be true.

Allowed values:

Response

OK
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error