ShipStation is a web-based shipping solution that streamlines the order fulfillment process for online businesses. It streamlines operations, enabling businesses to scale without worrying about complications. With ShipStation, businesses can quickly and easily import orders, manage orders, print labels, and send tracking to customers and selling channels.
Integration of ShipStation with Salesforce has many benefits. Salesforce and ShipStation integration enables businesses to run automated workflows instantly between the two apps, providing more time to focus on expanding business. It’s the optimal solution for any eCommerce brand or business wanting to save time, be more efficient, and sync data across their workspace.
So, in today’s issue, we will share a detailed tutorial on how to integrate ShipStation with Salesforce. Keep on reading!!
Steps to connect Salesforce to Shipstation
Login to your Shipstation Organization.
Click on Account tab on the Left section
Go to API Setting
Get API Key and API Secret, As this is Used for Username and Password to Authorize when Sending Data to Shipstation.
>We will be using Username and password from above in our code as Client Id and Client Secret.
>We will now create and update orders on Shipstation, on creating opportunityLineItem on opportunity record.
NOTE : The order’s status. Possible values: awaiting_payment, awaiting_shipment, shipped, on_hold, canceled. And Order Status is a required value to create order on shipstation.
NOTE : Some values are required to create order in shipstation:
orderNumber, OrderDate, OrderStatus,BillTo,ShipTo
Now Login to Salesforce and Open Developer Console__
Paste the below code :
>Create Trigger on OpportunityLineItem==
script 1
> Create a class and paste below code ===
script 2
Below is the Example:
OrderNumber on opportunity
Order Created on Shipstation with order Id and Order Number
>ShipLineItemKey gets populated with OrderId when order is created on shipstation
Conclusion
Integrating Salesforce with Shipstation has never been easier than this! We hope that you like this solution. If you need assistance implementing the solution, please feel free to contact us. Happy Learning!!