How can we help?
< All Topics
Print

How to send shipping details to the customer? (API)

Step 1: Create a flow in which you will ask for Status, Courier Name, Tracking Number, and Shipment Remarks.

Step 2: Select the End Block and Click on Edit, Select HTTP Request, and select request as Post.

Step 3: Go to Swagger: https://app.botbaba.io/swagger/ui/index Look for /api/EditFulfilmentDetails and Click.

Step 4: Click on Example Value and click on Try it out.

Step 5: Copy the Request URL and Value from Swagger and paste it in your Block.

Step 6: Enter your bot ID, Customer Cart ID, Status: Fulfilled |Unfulfilled |Partially Fulfilled Variable for Courier: #CourierName# trackingNo: #TrackingNumber# remark: #ShippingRemarks#

Step 7: Click On Header – Add Header Header: content-type Value: application/json Header: Authorization Value: (Auth token | Youll find it in Edit Profile)

Step 8: Click on Save.

Step 9: Go to Trigger and Action, Click on Add New, Add Action Name, Select trigger Shipment Fulfilled or Shipment Partially Fulfilled, and Select an Action through which you want to send Shipping Details to Customer. Click on Add Action.

For Example: We have selected Action Send Email you can select whichever you want and also add multiple actions.

Step 10: Enter all the Details add a Message Along with Shipping Variables.

You can search for the shipping variable by clicking on the blue arrow in Message Body.

Step 11: Click on Save Action and Click on Save & Close.

Once you Complete the flow the Shipping Details will be sent to the Customer.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Previous How to send dynamic files to the user?
Table of Contents