carrierChargeMappingUpdate
Update a carrier charge mapping.
Arguments
idID!ID of the carrier charge mapping.
applyShipmentFuelSurchargeBooleanApply the matched shipment fuel surcharge after basis and operator pricing.
externalCodeStringExternal code.
externalNamePatternStringExternal name pattern.
invoiceDescriptionStringInvoice description.
invoiceLineAggregationModeCarrierInvoiceLineAggregationModeInvoice line aggregation mode.
AVERAGE_AMOUNTGROUP_BY_AMOUNTTOTAL_AMOUNTisActiveBooleanWhether the mapping is active.
ledgerIdIDID of the ledger.
currencyString!ISO 4217 currency code
valueString!Amount
priceBasisCarrierChargePriceBasisSource amount used to price the mapped charge.
CARRIER_COSTFIXED_AMOUNTSHIPPING_PRODUCT_BASESpriceOperatorCarrierChargePriceOperatorOptional operation applied to the source amount.
ADD_FIXEDADD_PERCENTAGEPERCENTAGE_OF_BASISpricePercentageStringPercentage used by percentage operators.
vatProfileIdIDID of the VAT profile.
Returns
applyShipmentFuelSurchargeBoolean!Whether the matched shipment fuel surcharge is applied after pricing.
categoryCarrierInvoiceChargeCategory!Category of the carrier charge mapping.
BASEDISCOUNTFEEFUEL_SURCHARGEOPTIONSURCHARGETAXcreatedAtDateTimeTz!When the carrier charge mapping was created.
externalCodeStringExternal code of the carrier charge mapping.
externalNamePatternStringExternal name pattern of the carrier charge mapping.
idID!Unique primary key.
invoiceDescriptionStringInvoice description of the carrier charge mapping.
invoiceLineAggregationModeCarrierInvoiceLineAggregationMode!Invoice line aggregation mode of the carrier charge mapping.
AVERAGE_AMOUNTGROUP_BY_AMOUNTTOTAL_AMOUNTisActiveBoolean!Whether this carrier charge mapping is active.
priceBasisCarrierChargePriceBasisSource amount used to price the mapped charge.
CARRIER_COSTFIXED_AMOUNTSHIPPING_PRODUCT_BASESpriceOperatorCarrierChargePriceOperatorOptional operation applied to the source amount.
ADD_FIXEDADD_PERCENTAGEPERCENTAGE_OF_BASISpricePercentageStringPercentage used by percentage operators.
updatedAtDateTimeTz!When the carrier charge mapping was last updated.
field[String!]messageString!