orderSetStatus
Set the status of an order.
Updates the order status to the specified value with proper validation and business logic checks.
Possible errors:
- ORDER_NOT_FOUND: Order with the specified ID does not exist
- ORDER_STATUS_TRANSITION_NOT_ALLOWED: Invalid status transition attempted
- ORDER_STATUS_ERROR: General order status related error
- VALIDATION_ERROR: Invalid status or input data provided
- FORBIDDEN: Insufficient permissions to change order status
AUTH: Role=[order.OWNER,order.EDITOR]
orderSetStatus(
input: OrderSetStatusInput!
): Order!
Arguments
orderSetStatus.input
● OrderSetStatusInput!
non-null input
Input data containing order ID and new status