Skip to main content

orderStatusSetAddOrderStatuses

Add order statuses to an existing order status set.

Associates additional order statuses with the specified status set for workflow organization. The statuses will be immediately available as part of the set's workflow configuration.

Possible errors:

  • ORDER_STATUS_SET_NOT_FOUND_ERROR: Order status set with the specified ID does not exist
  • ORDER_STATUS_NOT_FOUND_ERROR: One or more specified order statuses do not exist

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

orderStatusSetAddOrderStatuses(
id: Int!
input: AddOrderStatusesToOrderStatusSetInput!
): OrderStatusSet!

Arguments

orderStatusSetAddOrderStatuses.id ● Int! non-null scalar

Unique identifier of the order status set to modify.

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

orderStatusSetAddOrderStatuses.input ● AddOrderStatusesToOrderStatusSetInput! non-null input

List of order status IDs to add to the set.

Contains the identifiers of order statuses that should be associated with this status set.

Type

OrderStatusSet object

Order status set entity for organizing related order statuses into logical workflow groups and business process containers