Skip to content

CancelInput

Which order lines a cancel batch cancels, and which adjustments with them.

input CancelInput {
excludePerItemAdjustments: Boolean!
holdIds: [Guid!]
includeAdjustmentIds: [Guid!]!
includePartOfPackageIds: [Guid!]
orderLineType: OrderLineType!
orderReferences: [String!]
priceCategoryIds: [Guid!]
priceTypeIds: [Guid!]
productId: Guid!
segmentIds: [Guid!]
}

Whether to leave per item adjustments out of the cancellation. includeAdjustmentIds still cancels the ones it names.

Only order lines in these holds. Omitted: every hold.

The adjustments to cancel with the order lines. The batch cancels a per order adjustment only when this names it.

Only order lines purchased via these packages. Empty: any package. Omitted: only order lines not in a package.

Only order lines of this type.

Only order lines in these orders, by order reference. Omitted: every order.

Only order lines in these price categories. Omitted: every price category.

Only order lines at these price types. Omitted: every price type.

The product whose order lines the batch cancels.

Only order lines in these segments. Omitted: every segment.

batches.createCancel mutation