List all plans

Returns a list of plans.

Definition

GET https://coworkify.com/api/v1/spaces/{SPACE_ID}/plans

Returns

A list of plan objects.

Example Request

$ curl https://coworkify.com/api/v1/spaces/077d8fab09b811e585b4705681ba8889/plans \
   -H "X-Auth-Token: {YOUR_TOKEN}"

Example Response


{
  "success": {
    "plans": [
      {
        "terms": null,
        "name": "Drop-in",
        "notes": null,
        "space_id": "077d8fab09b811e585b4705681ba8889",
        "period": "day",
        "signup_fee": 0.0,
        "price": 10.0,
        "image_id": null,
        "create_date": "2015-06-03T06:16:11",
        "public": true,
        "deposit": 0.0,
        "currency_symbol": "$",
        "admin_only": false,
        "approval": true,
        "order": 1,
        "options": [
          {
            "price": 20.0,
            "currency_symbol": "$",
            "id": "360a224517db11e58f85705681ba8889",
            "name": "Locker"
          }
        ],
        "id": "0783bab009b811e59cdc705681ba8889",
        "currency_code": "USD",
        "description": "Standard day pass or drop-in plan. Recommended for visitors."
      },
      {
        "terms": null,
        "name": "Regular",
        "notes": null,
        "space_id": "077d8fab09b811e585b4705681ba8889",
        "period": "month",
        "signup_fee": 0.0,
        "price": 200.0,
        "image_id": null,
        "create_date": "2015-06-03T06:16:11",
        "public": true,
        "deposit": 75.0,
        "currency_symbol": "$",
        "admin_only": false,
        "approval": true,
        "order": 2,
        "options": [
          {
            "price": 20.0,
            "currency_symbol": "$",
            "id": "0785d41409b811e58cdf705681ba8889",
            "name": "Locker"
          }
        ],
        "id": "07855bf509b811e58a0b705681ba8889",
        "currency_code": "USD",
        "description": "Monthly plan which allows Member to access the space 24/7."
      },
    ]
  }
}

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.