upsertBusinessDataMapping

Adding a user defined business data mapping

Arguments

NameTypeDescription
businessDataMappingbusinessDataMappingThe user-defined business fields

businessDataMapping

NameTypeDescription
purchaseOrderNumberStringPurchase order number (PO number): A unique identifier assigned to a specific order.
CommodityStringA high-level description of goods to be shipped.
consigneeStringThe contracted receiver of the goods shipped.
ShipperStringThe contracted shipper of goods.
usernameStringThe individual or entity currently responsible for performing administrative tasks related to the shipment.
departmentStringThe department responsible for overseeing the current stage of administrative tasks associated with the shipment.

Example Code

Sample Mutation

mutation UpsertBusinessDataMapping($businessDataMapping: BusinessDataMappingInput!) {
  upsertBusinessDataMapping(businessDataMapping: $businessDataMapping)
}

Variables

{
  "businessDataMapping": {
    "commodity": "SKU",
    "consignee": "recipient",
    "department": "dept.",
    "purchaseOrderNumber":"poNumber",
    "shipper": "sender",
    "username": "user"
  }
}

Response

{
  "data": {
    "upsertBusinessDataMapping": true
  }
}