Skip to main content

orderStatusUpdate

Update an existing order status configuration.

Modifies order status details including workflow position, transitions, descriptions, and settings. Only provided fields will be updated, others remain unchanged.

Possible errors:

  • ORDER_STATUS_NOT_FOUND_ERROR: Order status with the specified ID does not exist

AUTH: Role=[order.OWNER,order.EDITOR]

orderStatusUpdate(
id: Int!
input: UpdateOrderStatusInput!
): OrderStatus!

Arguments

orderStatusUpdate.id ● Int! non-null scalar

Unique identifier of the order status to update.

Must be a positive integer representing a valid order status ID in the system.

orderStatusUpdate.input ● UpdateOrderStatusInput! non-null input

Updated order status information.

Contains the order status properties to update. Only provided fields will be changed, others remain unchanged.

Type

OrderStatus object

Order status entity representing a state in the order workflow system