Developers

Lists

Currencies

Getting a list of currencies
Request format:
GET https://cityads.com/api/rest/webmaster/v2/currencies
                    
Response format:
{
    "currency": [
        {
            "id": "1",
            "name": "RUB"
        },
        {
            "id": "2",
            "name": "USD"
        },
        ...
    ]
}
                    
Response parameters:
Name: Description:
id Currency ID.
name Currency code per ISO 4217.
Getting a currency by an identifier
Request format:
GET https://cityads.com/api/rest/webmaster/v2/currencies/{id}
                    
Response format:
{
    "currency": {
        "id": "1",
        "name": "RUB"
    }
}
                    
Response parameters:
Name: Description:
id Currency ID.
name Currency code per ISO 4217.

Lost order statuses

Getting a list of lost order statuses
Request format:
GET https://cityads.com/api/rest/webmaster/v2/lostOrderStatuses
                    
Response format:
{
    "lostOrderStatus": [
        {
            "id": "1",
            "name": "New"
        },
        {
            "id": "2",
            "name": "Processing"
        },
        ...
    ]
}
                    
Response parameters:
Name: Description:
id ID статуса.
name Status name.
Getting a lost order status by an identifier
Request format:
GET https://cityads.com/api/rest/webmaster/v2/lostOrderStatuses/{id}
                    
Response format:
{
    "lostOrderStatus": {
        "id": "1",
        "name": "New"
    }
}
                    
Response parameters:
Name: Description:
id ID статуса.
name Status name.