Admin API / Mutations

confirmShippingLabelBatch

Buys a label for each quoted item at its selected rate, after the selections overrides. An item with no rate, or whose shipment has a label or hand-added tracking, becomes SKIPPED. Only while the batch phase is AWAITING_SELECTION. An item to buy whose last change is 7 days old or older gives ShippingRateUnavailableError. A rate that expires after this check fails its item at the purchase. A repeat with the same idempotencyKey and input returns the first result.

Requires a client key with one of these scopes: admin:shipments:purchaseRequires this member role or higher: SELLER
confirmShippingLabelBatch(
  input: ConfirmShippingLabelBatchInput!
): ConfirmShippingLabelBatchPayload!

Arguments

ArgumentTypeDescription
inputConfirmShippingLabelBatchInput!The batch, the rate overrides and the payment choice.

Return type

ConfirmShippingLabelBatchPayload!