The Authentication API serves as the partner login function which must occur once a day. Like all Skipcart APIs, the unique partner AppToken needs to be included in the header to return a UserToken that will be used in subsequent API requests. The Authentication service is a required API for Skipcart integration.

❗️This API is being deprecated please use the Authentication API V2

Authentication Request

{
    "email": "[email protected]",
    "password": "MyPassword"
}

❗️

Retain the UserToken value - it is required for subsequent API calls

Authentication Response

{
    "statusCode": 0,
    "status": true,
    "message": "string",
    "jobId": "string",
    "keyMessage": [
        {
            "code": "string",
            "message": "string",
            "parameter": "string"
        }
    ],
    "result": {
        "id": "string",
        "email": "string",
        "userToken": "string",
        "userTokenExpires": "string",
        "fullName": "string",
        "expiry": "string",
        "refreshToken": "string",
        "refreshTokenCreated": "string",
        "refreshTokenExpires": "string"
    },
    "errors": [
        {
            "code": "string",
            "message": "string",
            "key": "string"
        }
    ]
}
Language