Cancel a disputed purchase order
POST/purchase-orders/:code/cancel-dispute
Transitions a purchase order from DISPUTED to CANCELED status with optional reason
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Successfully canceled disputed purchase order
Bad request - code missing, invalid status, or validation error
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Purchase order not found
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error