...
Navigate back to the Shipments screen in Acumatica.
The fields in the ShipHawk Shipment Details section should populate the following information accordingly:
Sent to ShipHawk checkbox is selected.
Last Sync Date is no longer blank.
Click the ShipHawk Actions button on the form toolbar. Select the Get Shipment Confirmation action from the drop-down.
Click on the ShipHawk Info tab near the grid at the bottom of the Shipments page. The data from the ShipHawk Order details screen should be displayed in the grid below the tab.
Click on the Packages tab to the right of the ShipHawk Info tab. The shipment details you confirmed in ShipHawk, along with the order tracking number, should be displayed in the grid below the tab.
...
Webhooks for Shipment Data
For performance, webhooks are used to get the shipment information rather than API calls.
(Note that if an Acumatica user working on a Shipment record selects Actions > Get Shipment Confirmation, an API call is still used on a one-time basis to get the information immediately.)
To configure the webhook, you first create the webhook URL in Acumatica and then set up the webhook in ShipHawk.
Creating Webhook URL in Acumatica
To create a webhook URL in Acumatica:
On the Acumatica user interface, open the Webhooks page.
In the Webhook Name field, enter a name for the ShipHawk webhook, such as “SHWebook”.
Make sure the Active checkbox is selected.
In the Implementation Class field, enter the implementation class, such as “ShipHawk SHWKWebhookHander”.
Upon saving, a URL is generated and displayed in the URL field:
Copy this URL so that you can use it to set up the webhook in ShipHawk.
Setting Up Webhook in ShipHawk
To set up the webhook in ShipHawk:
On the ShipHawk user interface, select Settings (gear icon) > Settings > Webhooks to view the Webhooks Management page.
Select Actions > Create New Webhook:
In the Create a new webhook window, in the Callback URL field at the top, paste the URL you copied from Acumatica.
NOTE: Make sure Use Basic Authentication is not selected.Under Events, select the shipment.create_from_order event checkbox.
Click Create to save the new webhook setting.
Now, when a shipment is completed, the webhook will be triggered and the response will be sent to Acumatica.
On the Acumatica user interface, on the Webhooks page for the ShipHawk webhook, you can see the activity in the REQUEST HISTORY tab. You can click on a POST request to view the Request Details window.
Additional ShipHawk Screens
...