This API endpoint allows you to fetch points for each user (which can be be displayed inside your UI).

API end point

Method: POST

Endpoint: https://stagingstores.xoxoday.com/chef/v1/oauth/api

Request Body

{
    "query": "storesAdmin.query.user_balance",
    "tag": "storeAdmin",
    "variables": {
        "user_data": {
            "email": "[email protected]"
        }
    }
}

Response

{
    "data": {
        "user_balance": {
            "success": 0,
            "message": "missing user's details",
            "data": null
        }
    }
}
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!