How does the Recommendation API Endpoint and Payload look?

Modified on Sun, 7 Sep at 9:11 PM

The Recommendation API payload carries all key fields that a brand can use to set up or define its allocation rules. These fields provide the necessary details for the recommendation engine to process and suggest the most suitable courier.

Recommendation API Endpoint for Domestic orders: https://www.clickpost.in/api/v1/recommendation_api/

Recommendation API Endpoint for International orders: https://www.clickpost.in/api/v2/recommendation_api/

Sample Payload can be referred on the below API Documentation:
https://docs.clickpost.ai/reference/recommendation

Below is an example of the v1 recommendation API payload. Brands can pass specific parameters here, which can then be used to configure allocation rules.


[

    {

        "item": "HealthcareProducts",

        "height": "10",

        "length": "10",

        "weight": "10",

        "breadth": "10",

        "additional": null,

        "order_type": "COD",

        "drop_pincode": "123456",

        "delivery_type": "FORWARD",

        "invoice_value": 2187.0,

        "pickup_pincode": "400078",

        "reference_number": "FL1023075027",

          "item_count": 2

    }

]

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article