Skip to main content

updateFulfillmentB2bData

Updates fulfillment-local B2B data for a V2 fulfillment.

Business Rules

  • No row is stored until a fulfillment-specific override is added.
  • Non-empty input patches the fulfillment-local override row.
  • The returned b2bData field is effective data: order B2B data merged with fulfillment-local data.
  • Pass an empty object or null to clear all fulfillment-local B2B data and inherit from the order.

Error Scenarios

  • **NOT_FOUND**: the order or fulfillment does not exist.
  • **UNPROCESSABLE_CONTENT**: the fulfillment is fulfilled or cancelled.

Permissions Required

  • orders:update_fulfillment_b2b_data permission
updateFulfillmentB2bData(
input: UpdateFulfillmentB2BDataInput!
): OrderFulfillment!

Arguments

updateFulfillmentB2bData.input ● UpdateFulfillmentB2BDataInput! non-null input common

Parameters for UpdateFulfillmentB2BData

Type

OrderFulfillment object orders

This type represents an order fulfillment. An order can have multiple fulfillments, each one associated with a warehouse and a party that fulfilled the order.