Skip to main content

bulkLinkCustomerOrders

Queues the assignment of selected V2 orders to a customer.

Business Rules​

  • Accepts up to 50 distinct orders per call.
  • The target customer must belong to the active company.
  • Each order is assigned through the order details command, so only the customer link changes and an order whose customer moved after selection is rejected on its own.
  • Progress and per-order outcomes are reported on the returned process.

Error Scenarios​

  • **UNPROCESSABLE_CONTENT**: no orders, too many orders, or a repeated order.
  • **NOT_FOUND**: the customer does not belong to the active company.
  • **UNAUTHORIZED**: missing required permissions or invalid company access.

Permissions Required​

  • orders:update_order_details permission
bulkLinkCustomerOrders(
input: BulkLinkCustomerOrdersInput!
): AsynchronousActionResponse!

Arguments​

bulkLinkCustomerOrders.input ● BulkLinkCustomerOrdersInput! non-null input common​

Parameters for BulkLinkCustomerOrders

Type​

AsynchronousActionResponse object common​

Asynchronous action response type