For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DocumentationAPI Reference
DocumentationAPI Reference
  • API Reference
      • GETGet Return Order
      • PUTEdit Return Order
      • POSTCancel Return order
      • GETGet Return Orders
      • POSTCreate Return Order
LogoLogo
API ReferenceReturns

Cancel Return order

||View as Markdown|
POST
https://sandbox-api.shipbob.com/2026-01/return/:id:cancel
POST
/2026-01/return/:id:cancel
$curl -X POST https://sandbox-api.shipbob.com/2026-01/return/1:cancel \
> -H "Authorization: Bearer <token>"
1{}
Cancels a return order for given return ID.
Was this page helpful?
Previous

Edit Return Order

Next

Get Return Orders

Built with

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

Path parameters

idintegerRequired
Id of the return order

Response

OK

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error