Update Freight Cost QuoteProcess_UpdateFreightCost

Update Freight Cost QuoteProcess_UpdateFreightCost

How to use this endpoint

Warning
IQ integration module is required to use this method

You can update Freight Price in a job/quote using Update Freight Cost Endpoint.
/api/QuoteProcess/UpdateFreightCost

Required payload to Postback to UpdateFreightCost Endpoint
{
  "ItemFreightDeliveryKey": 11162,
  "DeliveryCostPrice": 0,
  "DeliverySalesPrice": 24.5
}

However in order to do so, you will required to grab the Delivery Key from Get Freight Session Endpoint.
{{ServerURL}}/api/QuoteProcess/GetFreightSession?LoginToken={{ApplicationToken}}&JobNo={{JobNo}}&QuoteNo={{QuoteNo}}

To run above method, you will required to get either JobNo, or QuoteNo

In this example, we will utilize JobNo and map the returned JSON value to GetFreightSession Endpoint.
{{ServerURL}}/api/QuoteProcess/GetFreightSession?LoginToken={{ApplicationToken}}&JobNo=J007440&QuoteNo

Run POST method with parameters JobNo will return this example payload.
                "FDKey": 11162,
                "FDDelNumber": 0,
                "QFLKey": 1,
                "dltID": 1216,
                "dltDescription": "Description",
                "dltTransferIntoInventory": false,
                "FEDTPalletsOnly": false,
                "dltAdminOnly": true,
                "dltSignOff": 0,
                "ProofofDeliveryCount": 0,
                "ItemCount": 1,
                "DeliveryFDSOSKey": 1,
                "ProofofDeliverySignOffUser": null,
                "ProofofDeliverySignOffDate": null,
                "ProofofDeliverySignOffDate_Formatted": "",
                "FDMKey": 8,
                "FDDeliveryDays": 1.0,
                "FDCalculatedDispatchDate": null,
                "FDDispETADate": null,
                "FDIsFree": false,
                "FDIKey": null,
                "FDSKey": 6,


Idea
ItemFreightDeliveryKey you required is FDKey located in Deliveries.FDKey
If you have multiple Deliveries, you will see multiple FDKey inside the Deliveries object
Example like so.


Each FDKey will be inside Deliveries Object.


Expected Output

Passing this payload.
{
  "ItemFreightDeliveryKey": 11162,
  "DeliveryCostPrice": 0,
  "DeliverySalesPrice": 24.5
}

Will update the freight in Job Details Page.


    • Related Articles

    • Add External Consignment

      How to use this endpoint You can add an Consignment in IQ via AddExternalConsignments Endpoint. /api/QuoteProcess/AddExternalConsignment Required payload to Postback to AddExternalConsignment Endpoint { "ExternalConsignment": { "ConsignmentNo": ...
    • Save Quote Question endpoint

      Where to get the Value of SaveQuoteQuestion Endpoint? If you are experimenting on how to run POST Method to SaveQuoteQuestion Endpoint. You can use this method to check the Payload required. Console --> Network Tab --> Check Arrow Using this example, ...
    • Stock Bulk Cost Update

      Introduction IQ offers the ability to carry out Bulk Stock Price updates after your stock has been uploaded into IQ. REMEMBER This functionality should be used after your stock catalogue is loaded via Stock Bulk Upload: ...
    • Stock Bulk Cost Update

      Introduction IQ offers the ability to carry out Bulk Stock Price updates after your stock has been uploaded into IQ. REMEMBER This functionality should be used after your stock catalogue is loaded via Stock Bulk Upload: ...
    • Generate anonymous authentication guid for proof API endpoint

      POST/api/QuoteProcess/GenerateAnonymousAuthenticationGuidForProof?LoginToken={{LoginToken}} Description This endpoint generates an anonymous authentication GUID for proof. Along with the Login Token obtained from the GetLoginToken endpoint, a valid ...