curl --request POST \
--url http://localhost:3000/v1/orders/{id}/transition \
--header 'Content-Type: application/json' \
--data '
{
"target_status": "received",
"portal_id": "<string>"
}
'{
"success": true,
"order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"message": "<string>",
"target_status": "<string>"
}Transitions an order to a new RFC status with appropriate side effects.
Available transitions:
curl --request POST \
--url http://localhost:3000/v1/orders/{id}/transition \
--header 'Content-Type: application/json' \
--data '
{
"target_status": "received",
"portal_id": "<string>"
}
'{
"success": true,
"order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"message": "<string>",
"target_status": "<string>"
}