← All types
Sales & CRMIn Input object

BulkUpdateOrderStatusesInput

Applies one status — and optionally one internal note — to a batch of up to 100 orders.

Fields

orderIds

[OrderID!]!Required

Orders to move, as OrderID TypeIDs (e.g. "ord_01K…"). At least 1 and at most 100; outside that range nothing is updated and the payload carries a validation error on orderIds. Ids that do not resolve to an order in the caller's tenant are reported in failedOrderIds and do not block the rest.

Status applied to every order that was found. Set unconditionally — no transition validation is performed. Side effects on the order: CANCELLED stamps cancelledAt, COMPLETED stamps completedAt, and CONFIRMED stamps confirmedAt only if it was not already set.

Possible values (9)
DRAFT

Draft order

CONFIRMED

Confirmed order

IN_PRODUCTION

Order in production

PARTIALLY_SHIPPED

Partially shipped order

SHIPPED

Fully shipped order

DELIVERED

Delivered order

COMPLETED

Completed order

CANCELLED

Cancelled order

ON_HOLD

Order on hold

notes

StringOptional

Optional internal note. When given it OVERWRITES the internal notes of every updated order; when null, existing notes are left untouched.

Referenced by (1)
Exact type SDL
"""
Applies one status — and optionally one internal note — to a batch of up to 100 orders.
"""
input BulkUpdateOrderStatusesInput {
  """
  Orders to move, as OrderID TypeIDs (e.g. "ord_01K…"). At least 1 and at most 100; outside that range nothing is updated and the payload carries a validation error on orderIds. Ids that do not resolve to an order in the caller's tenant are reported in failedOrderIds and do not block the rest.
  """
  orderIds: [OrderID!]!
  """
  Status applied to every order that was found. Set unconditionally — no transition validation is performed. Side effects on the order: CANCELLED stamps cancelledAt, COMPLETED stamps completedAt, and CONFIRMED stamps confirmedAt only if it was not already set.
  """
  status: OrderStatus!
  """
  Optional internal note. When given it OVERWRITES the internal notes of every updated order; when null, existing notes are left untouched.
  """
  notes: String
}