BulkUpdateOrderStatusesInput
Applies one status — and optionally one internal note — to a batch of up to 100 orders.
Fields
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)
DRAFTDraft order
CONFIRMEDConfirmed order
IN_PRODUCTIONOrder in production
PARTIALLY_SHIPPEDPartially shipped order
SHIPPEDFully shipped order
DELIVEREDDelivered order
COMPLETEDCompleted order
CANCELLEDCancelled order
ON_HOLDOrder on hold
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
}