Adding a user defined business data mapping
Arguments
| Name | Type | Description |
|---|---|---|
| businessDataMapping | businessDataMapping | The user-defined business fields |
businessDataMapping
| Name | Type | Description |
|---|---|---|
| purchaseOrderNumber | String | Purchase order number (PO number): A unique identifier assigned to a specific order. |
| Commodity | String | A high-level description of goods to be shipped. |
| consignee | String | The contracted receiver of the goods shipped. |
| Shipper | String | The contracted shipper of goods. |
| username | String | The individual or entity currently responsible for performing administrative tasks related to the shipment. |
| department | String | The 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
}
}