CRM Integration Workflow

Attached you will find four files with samples.

In the Header include the x-api-key: {INSERT AUTHENTICATION KEY}

From time to time, we will update the test environment with fresh data from Production. When this occurs, auth keys, logins, and webhook URLs will be deleted and need to be re-added.

Workflow:

Customer Creation

Customer Staff Update

Create Shipment Webhook

When a shipment is created, a payload will be triggered to the desired webhook URL billToOrganizationId - This denotes the customer ID. You will need to have a mapping generated that correlates the TMS customer ID to the customer in HubSpot.

Shipment Status Update Webhook

When a shipment is updated, a payload will be triggered to the desired webhook URL billToOrganizationId - This denotes the customer ID. You will need to have a mapping generated that correlates the TMS customer ID to the customer in HubSpot. Notes for both webhooks: The Create Shipment Webhook is intended to alert that a shipment has been created. The Shipment Status Update Webhook is intended to fire whenever there is a change in status. For the purpose of the CRM, if the status is Quoted or Booked, it is considered a "New Deal". If the status is "Ready" thru "Complete", then it is considered a "Deal Won". Shipment Statuses:
  • Quoted
  • Booked
  • Ready
  • Sent
  • Dispatched
  • In Transit
  • Out for Delivery
  • Delivered
  • Complete

REST (JSON) API Information

Swagger 2.0 API Documentation Test REST Service URL: Username: {INSERT USERNAME HERE} Password: {INSERT PASSWORD HERE}