Method list


Generic examples

The examples below may occur while using any of the methods above. Messages may contain HTML code!

Invalid API Key (Status: 401)

Example URL: https://magboss.pl/api/{{method}}.json?key=invalid_api_key&lang=en&currency=EUR

{
    "messages": {
        "warning": [
            "Given login details are incorrect."
        ],
        "danger": [
            "Invalid API Key or API not allowed"
        ]
    }
}

Invalid method (Status: 404)

Example URL: https://magboss.pl/api/{{method}}.json?key=YOURAPIKEY&lang=en

{
    "messages": {
        "danger": [
            "Action not allowed"
        ]
    }
}

Insufficient permissions (Status: 403)

Example URL: https://magboss.pl/api/{{method}}.json?key=YOURAPIKEY&lang=en

{
    "messages": {
        "danger": [
            "You do not have permission to perform this action."
        ]
    }
}