Skip to main content

ordersSaveB2bData

DEPRECATED

Legacy Orders V1 mutation. It applies to V1 orders only and will be removed once Orders V1 support ends. For V2 orders, use updateOrderB2bData.

Saves B2B data for an existing order. This mutation allows you to attach B2B processing data to an order for fulfillment, shipping, and reporting.

B2B data includes shipping details, packaging requirements, billing information, routing instructions, and template associations that support order processing.

Required Permission

  • orders:manage_b2b_data

Possible Errors

  • **B2BOrderError**: When order validation fails or required data is missing
  • **AuthorizationError**: When user lacks required permissions
  • **RecordNotFoundError**: When the specified order does not exist
ordersSaveB2bData(
input: SaveB2BOrderDataInput!
): Order @deprecated

Arguments

ordersSaveB2bData.input ● SaveB2BOrderDataInput! non-null input common

Parameters for SaveB2BOrderData

Type

Order object orders

The order type. This type represents an order in the system.