supplyUpdateShipmentsFinancials
Updates the financial details of multiple supply shipments in bulk.
Authentication
Requires authentication and the supply:update_shipment_financials
permission.
Behavior
- Updates financial information for one or more shipments in a single request.
- For each shipment, you can update origin costs, transportation costs, destination costs, duties, taxes, and/or other fees.
- At least one financial field must be provided for each shipment update.
- The mutation is processed asynchronously and returns a process ID for tracking.
Validation Rules
- A maximum of 50 shipments can be updated per request.
- Each shipment must exist and belong to the specified brand.
- At least one financial field (
originCosts,transportationCosts,destinationCosts,duties,taxes, orotherFees) must be provided for each shipment.
Possible Errors
You can update a maximum of 50 shipments at a time- The request exceeds the batch limit.Shipment with ID {id} not found- The specified shipment does not exist.At least one financial field must be provided- No financial fields were specified for a shipment update.
supplyUpdateShipmentsFinancials(
input: UpdateShipmentsFinancialsInput!
): AsynchronousActionResponse!
Arguments
supplyUpdateShipmentsFinancials.input ● UpdateShipmentsFinancialsInput! non-null input
Parameters for UpdateShipmentsFinancials
Type
AsynchronousActionResponse object
Asynchronous action response type