Return Points

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The API Rate Limiting Category is Write API. This endpoint will create a transaction of the type “deduct” for a return against a specific ‘Made a purchase’ transaction.

📘

This is the latest version of the Return Point API. If you are still using the older version, click here.

Body Params
string
required

Unique Identifier (Member ID) for the member object in the client’s system which was used while creating a member in Zinrelo.

json

In order to return points for "made_a_purchase" activity, the mandatory field is order_id. With this, you can also pass returned_product_id and returned_product_quantity together or just returned_amount.

Note: If you just pass "order_id," the amount will be fully returned.

We are also accepting product quantities in decimal values.

For example:

{

"tags" : ["ProductReturn"],
"reason" : "Order partially returned",
"order_id" : "56789",
"returned_amount" : "200"
}

or

{
"order_id" : "56789",
"returned_product_id" : "1235BCDI",
"returned_product_quantity" : 2
}

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json