Skip to content
Community forum

"Cannot cancel from state 'shipped'"

SolvedSupero SupportSupero team asked

Common question, written up by the Supero team.

Error message
INVALID_STATE_TRANSITION
Link

1 answer

Accepted answer
Accepted answer

This is INVALID_STATE_TRANSITION. The response includes current_state, allowed_from_states and a remediation hint you can show in your UI. Check the status code, success: false and the error text, because the error can surface in any of those three places. GET /api/v1/services/transactional-catalog lists every state machine and its transitions. A shipped order normally goes through returns and refunds rather than cancel.

Supero Integrations teamSupero team answered
Link

Your answer

"Cannot cancel from state 'shipped'" | Supero Community