Store Page


Overview

Returns the data related to available products


POST /en/store/validateDiscountCode?discountcode=:discountCode

Validates a discount code (see full JSON below)

POST /en/store/validateDiscountCode?discountcode=:discountCode (or any other langauge code registered in your account)
Parameters: discountCode
{
    "valid": false,
    "discountCode": {
        "discountMessage": "Invalid discount code",
        "code": null,
        "description": null
    }
}

POST /en/store/ProductsJson?onlyTimePasses=:onlyTimePasses

Gets the list of available products (see full JSON below)

POST /en/store/ProductsJson?onlyTimePasses=:onlyTimePasses (or any other langauge code registered in your account)
Parameters: onlyTimePasses (return only those products which include time passes)
{
    "discountCode": {
        "discountMessage": null,
        "code": null,
        "description": null
    },
    "products": [
        {
            "Name": "Access Card Replacement Fee",
            "Description": "If you lost your access card, you can order a new one by buying this product.",
            "Tags": null,
            "Price": 30.25,
            "PriceFormatted": "$30.25",
            "HasTimePasses": false,
            "Currency": {
                "Name": "US Dollar (USD)",
                "Code": "USD",
                "Format": "$0.00",
                "Id": 3004,
                "IdString": "3004",
                "UpdatedOn": "/Date(1369493356000)/",
                "CreatedOn": "/Date(1327329350000)/",
                "UniqueId": "29fe8a0f-fb71-4b42-a3eb-c2f29cfcd8e2",
                "IsNull": false,
                "Context": null
            },
            "Quantity": 0,
            "RegularCharge": true,
            "AlwaysRecurrent": false,
            "AlwaysOneOff": true,
            "Id": 377855495,
            "IdString": "377855495",
            "UpdatedOn": "/Date(1521385182000)/",
            "CreatedOn": "/Date(1493128541000)/",
            "UniqueId": "55277b13-9ed4-458d-bebe-b98510377997",
            "IsNull": false,
            "Context": null
        },
        {
            "Name": "Small Locker",
            "Description": "Your own storage space (50x50x50)",
            "Tags": "Storage",
            "Price": 60.5,
            "PriceFormatted": "$60.50",
            "HasTimePasses": false,
            "Currency": {
                "Name": "US Dollar (USD)",
                "Code": "USD",
                "Format": "$0.00",
                "Id": 3004,
                "IdString": "3004",
                "UpdatedOn": "/Date(1369493356000)/",
                "CreatedOn": "/Date(1327329350000)/",
                "UniqueId": "29fe8a0f-fb71-4b42-a3eb-c2f29cfcd8e2",
                "IsNull": false,
                "Context": null
            },
            "Quantity": 0,
            "RegularCharge": true,
            "AlwaysRecurrent": true,
            "AlwaysOneOff": false,
            "Id": 289910624,
            "IdString": "289910624",
            "UpdatedOn": "/Date(1521385383000)/",
            "CreatedOn": "/Date(1485876075000)/",
            "UniqueId": "d3472b65-bda5-4851-9ef2-1f0787ff2c04",
            "IsNull": false,
            "Context": null
        },
        {
            "Name": "Medium Locker",
            "Description": "Your own storage space (100x50x50)",
            "Tags": "Storage",
            "Price": 77.25,
            "PriceFormatted": "$77.25",
            "HasTimePasses": false,
            "Currency": {
                "Name": "US Dollar (USD)",
                "Code": "USD",
                "Format": "$0.00",
                "Id": 3004,
                "IdString": "3004",
                "UpdatedOn": "/Date(1369493356000)/",
                "CreatedOn": "/Date(1327329350000)/",
                "UniqueId": "29fe8a0f-fb71-4b42-a3eb-c2f29cfcd8e2",
                "IsNull": false,
                "Context": null
            },
            "Quantity": 0,
            "RegularCharge": true,
            "AlwaysRecurrent": true,
            "AlwaysOneOff": false,
            "Id": 289910625,
            "IdString": "289910625",
            "UpdatedOn": "/Date(1515568192000)/",
            "CreatedOn": "/Date(1485876147000)/",
            "UniqueId": "cb3aff4b-6117-4116-a170-0a727776e677",
            "IsNull": false,
            "Context": null
        },
        {
            "Name": "Large Locker",
            "Description": "Your own storage space (150x100x50)",
            "Tags": "Storage",
            "Price": 121,
            "PriceFormatted": "$121.00",
            "HasTimePasses": false,
            "Currency": {
                "Name": "US Dollar (USD)",
                "Code": "USD",
                "Format": "$0.00",
                "Id": 3004,
                "IdString": "3004",
                "UpdatedOn": "/Date(1369493356000)/",
                "CreatedOn": "/Date(1327329350000)/",
                "UniqueId": "29fe8a0f-fb71-4b42-a3eb-c2f29cfcd8e2",
                "IsNull": false,
                "Context": null
            },
            "Quantity": 0,
            "RegularCharge": true,
            "AlwaysRecurrent": true,
            "AlwaysOneOff": false,
            "Id": 289910626,
            "IdString": "289910626",
            "UpdatedOn": "/Date(1515568197000)/",
            "CreatedOn": "/Date(1485876200000)/",
            "UniqueId": "d58f60ee-aa18-4fb6-acf2-2b39b5317eaa",
            "IsNull": false,
            "Context": null
        },
        {
            "Name": "Day Pass",
            "Description": "Access 1 day to the space",
            "Tags": "Day Passes",
            "Price": 24.2,
            "PriceFormatted": "$24.20",
            "HasTimePasses": true,
            "Currency": {
                "Name": "US Dollar (USD)",
                "Code": "USD",
                "Format": "$0.00",
                "Id": 3004,
                "IdString": "3004",
                "UpdatedOn": "/Date(1369493356000)/",
                "CreatedOn": "/Date(1327329350000)/",
                "UniqueId": "29fe8a0f-fb71-4b42-a3eb-c2f29cfcd8e2",
                "IsNull": false,
                "Context": null
            },
            "Quantity": 0,
            "RegularCharge": true,
            "AlwaysRecurrent": false,
            "AlwaysOneOff": true,
            "Id": 289910627,
            "IdString": "289910627",
            "UpdatedOn": "/Date(1516206918000)/",
            "CreatedOn": "/Date(1485876652000)/",
            "UniqueId": "c88f9e7e-679f-4348-a5a4-e9774474acc1",
            "IsNull": false,
            "Context": null
        },
        {
            "Name": "10 Day Passes",
            "Description": "Access 10 days to the space",
            "Tags": "Day Passes",
            "Price": 217.8,
            "PriceFormatted": "$217.80",
            "HasTimePasses": true,
            "Currency": {
                "Name": "US Dollar (USD)",
                "Code": "USD",
                "Format": "$0.00",
                "Id": 3004,
                "IdString": "3004",
                "UpdatedOn": "/Date(1369493356000)/",
                "CreatedOn": "/Date(1327329350000)/",
                "UniqueId": "29fe8a0f-fb71-4b42-a3eb-c2f29cfcd8e2",
                "IsNull": false,
                "Context": null
            },
            "Quantity": 0,
            "RegularCharge": true,
            "AlwaysRecurrent": false,
            "AlwaysOneOff": true,
            "Id": 289910628,
            "IdString": "289910628",
            "UpdatedOn": "/Date(1522575533000)/",
            "CreatedOn": "/Date(1485876687000)/",
            "UniqueId": "9f04451c-3fed-46ea-9f61-53d3bd92ca4b",
            "IsNull": false,
            "Context": null
        },
        {
            "Name": "20 Day Passes",
            "Description": "Access 20 days to the space",
            "Tags": "Day Passes",
            "Price": 423.5,
            "PriceFormatted": "$423.50",
            "HasTimePasses": false,
            "Currency": {
                "Name": "US Dollar (USD)",
                "Code": "USD",
                "Format": "$0.00",
                "Id": 3004,
                "IdString": "3004",
                "UpdatedOn": "/Date(1369493356000)/",
                "CreatedOn": "/Date(1327329350000)/",
                "UniqueId": "29fe8a0f-fb71-4b42-a3eb-c2f29cfcd8e2",
                "IsNull": false,
                "Context": null
            },
            "Quantity": 0,
            "RegularCharge": true,
            "AlwaysRecurrent": false,
            "AlwaysOneOff": false,
            "Id": 289910629,
            "IdString": "289910629",
            "UpdatedOn": "/Date(1521384746000)/",
            "CreatedOn": "/Date(1485876727000)/",
            "UniqueId": "26c2724e-102b-4d2b-8a31-e038c800991a",
            "IsNull": false,
            "Context": null
        }
    ]
}

POST /en/store/purchase

Purchases one or more products

POST /en/store/purchase (or any other langauge code registered in your account)
Parameters:
{
  "Products": [
    {
      "Id": 1234560,
      "Quantity": 1,
      "RegularCharge": false
    },
    {
      "Id": 6547891,
      "Quantity": 2,
      "RegularCharge": true
    }
  ]
}
{
    "Redirect": "/en/Profile",
    "WasSuccessful": true
}


Source: XML ! RSS