Overview

The purpose of this documentation is to help you quickly integrate the Manchester Pricing API, enabling you to dynamically retrieve the latest parking product prices and ensure that any price updates from Manchester’s system are automatically reflected on your website with each API request.

Access Token

The access token is generated by Manchester Airport Spaces. To obtain one, please contact customer support by email. You will need to provide your Company Name and Company Email. Once verified, you will receive your access_token.

If you already have an access token, you may proceed with API integration. Otherwise, please contact customer support at it@manchesterairportspaces.co.uk.

Authentication

Parameter Description Example Value
company_code A unique identifier for the parking product 103
access_token A secure token provided by Manchester Airport Spaces after registration 862e67fb-f549-4230-bdc5-4d65bc
no_of_day The number of days the customer wants to book parking 7
month The starting month of the booking 03 (March)
year The starting year of the booking 2025

Endpoints

POST https://manchesterairportspaces.co.uk/api/companyprices

POST https://manchesterairportspaces.co.uk/api/companyprices
Content-Type: application/json
Authorization: Bearer {access_token}

Request Body

{
    "company_code": "103",
    "access_token": 862e67fb-f549-4230-bdc5-4d65bc,
    "no_of_day": 4,
    "month": "03",
    "year": "2025"
}

Response

{
    "data": {
        "company_code": "103",
        "total_price": 40
    },
    "no_of_day": 4
}

Errors

Error Code Message Description
400 Bad Request One or more required parameters are missing or invalid.
401 Unauthorized The access token is missing, expired, or invalid.
404 Not Found The requested company code or pricing data could not be found.
500 Server Error An internal error occurred on the server. Please try again later.