v1
latestOpenAPI 3.0.22026-07-2645239950.4 KBList Member's Eligible Activities API
get/eligible-activities
Query parameters
start_cursorinteger
Defaults to 0. This is a cursor for use in pagination. start_index is the index that defines your place in the list. For instance, if you make a list request and receive 1000 objects, your subsequent call can include start_index=1001 in order to fetch the next page of the list.
countinteger
Defaults to 100. This is a limit on the number of objects to be returned. Count can range between 1 and 1000, and the default is 100.
languagestring
One of the store languages, for example english/ italian/ german, etc.
sort_bystring
<p>The response will contain the activities ordered by the rank configured in the Zinrelo admin console. You can sort the sequence using the following options: <i><strong>"rank", "-rank", "created_date", "-created_date", "last_modified_date" or "-last_modified_date".</i></strong> Additionally, you can combine sorting options, such as <i><strong>"-rank,created_date", "-rank,-created_date", "-rank,-last_modified_date", "-rank,last_modified_date", "rank,created_date", or "rank,-created_date", "rank,-last_modified_date", or "rank,last_modified_date".</i></strong> </p> <p>"-" signifies the latest activity first. </p> <p><strong>Note: If no sorting option is specified, the response will default to the saved rank, which is "rank,-last_modified_date".</p></strong><p>In scenarios where the rank of activities is same, sorting will be based on a second parameter. For example, in "rank,last_modified_date," if the ranks are identical, the sorting will then be determined by the last modified date parameter.</p>
Response
200
Example response
{
"points_config": {
"points_computation_type": "multiplier_based",
"attribute_to_multiply": "order_subtotal",
"multiplier": 1
},
"extra_config": {
"share_current_page_url": false,
"pin_post_image": "",
"pin_post_description": "Awesome products at great prices. You should really check them out.",
"business_instagram_username": "pallavi"
}
}