API Documentation

API Endpoint

Organization Subscriptions

Organization Subscriptions

Supported Enumerations

Payment methods:

  • credit_card (payment_method_id: 1)

  • invoice (payment_method_id: 2)

GET /api/v2/organization_subscriptions/1
Requestsreturns organization subscription

GET  /api/v2/organization_subscriptions/480

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "480",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 1,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 24,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 100
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 30
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5
          },
          "workflows": {
            "type": "metered",
            "limit": 5
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 180
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": true
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": true
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "480"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Gets a organization subscription
GET/api/v2/organization_subscriptions/{id}

URI Parameters
HideShow
id
number (required) Example: 1

organization subscription id


PATCH /api/v2/organization_subscriptions/1
Requestscreates subscriptionupdates subscriptionsets trial plansets trial plansets trial plandoes not change trial plandoes not change trial planreturns errorreturns errorsets trial_plan to nullupdates subscriptionupdates subscriptionupdates subscriptionupdates subscriptionupdates subscriptionreturns error

PATCH  /api/v2/organization_subscriptions/481

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "stripe_token": "tok_u5dg20Gra"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "481",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 7,
      "trial_ends_at": null,
      "subscription_ends_at": "2015-10-15 23:59:59",
      "next_billing_cycle_at": "2015-10-15 23:59:59",
      "grace_period_ends_at": null,
      "plan_price": 24,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 100
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 30
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5
          },
          "workflows": {
            "type": "metered",
            "limit": 5
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 180
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": true
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": true
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 0,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": "MasterCard",
      "card_last4": "5100",
      "card_month": "12",
      "card_year": "2020",
      "stripe_customer_id": "cus_no_sub",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "481"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/482

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "stripe_token": "tok_u5dg20Gra"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "482",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 7,
      "trial_ends_at": null,
      "subscription_ends_at": "2015-10-15 23:59:59",
      "next_billing_cycle_at": "2015-10-15 23:59:59",
      "grace_period_ends_at": null,
      "plan_price": 24,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 100
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 30
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5
          },
          "workflows": {
            "type": "metered",
            "limit": 5
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 180
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": true
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": true
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 0,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": "MasterCard",
      "card_last4": "5100",
      "card_month": "12",
      "card_year": "2020",
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "482"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/483

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "trial_plan_type": "premium"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "483",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 15,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 5
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0
          },
          "workflows": {
            "type": "metered",
            "limit": 2
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 7
          },
          "multigrouping": {
            "type": "switch",
            "available": false
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": false
          },
          "subsidiaries": {
            "type": "switch",
            "available": false
          },
          "time_approvals": {
            "type": "switch",
            "available": false
          },
          "expenses_approvals": {
            "type": "switch",
            "available": false
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": false
          },
          "autotracking": {
            "type": "switch",
            "available": false
          },
          "forecasting": {
            "type": "switch",
            "available": false
          },
          "webhooks": {
            "type": "switch",
            "available": false
          },
          "table_pivoting": {
            "type": "switch",
            "available": false
          },
          "formula_fields": {
            "type": "switch",
            "available": false
          },
          "single_sign_on": {
            "type": "switch",
            "available": false
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": false
          },
          "payment_sync": {
            "type": "switch",
            "available": false
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": false
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": false
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": false
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": false
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [
          {
            "id": "premium",
            "name": "Premium",
            "type": "regular",
            "monthly_price_cents": 2400,
            "yearly_price_cents": 24000,
            "currency": "USD",
            "upgrades": [],
            "downgrades": [
              "standard"
            ],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 15
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 10
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 100
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 30
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 30
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 5
              },
              "workflows": {
                "type": "metered",
                "limit": 5
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 180
              },
              "multigrouping": {
                "type": "switch",
                "available": true
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": true
              },
              "subsidiaries": {
                "type": "switch",
                "available": true
              },
              "time_approvals": {
                "type": "switch",
                "available": true
              },
              "expenses_approvals": {
                "type": "switch",
                "available": true
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": true
              },
              "autotracking": {
                "type": "switch",
                "available": true
              },
              "forecasting": {
                "type": "switch",
                "available": true
              },
              "webhooks": {
                "type": "switch",
                "available": true
              },
              "table_pivoting": {
                "type": "switch",
                "available": true
              },
              "formula_fields": {
                "type": "switch",
                "available": true
              },
              "single_sign_on": {
                "type": "switch",
                "available": true
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": true
              },
              "payment_sync": {
                "type": "switch",
                "available": true
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": true
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": true
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": true
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": true
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ],
        "downgradeables": []
      },
      "plan_type": "standard",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": "2019-01-15 23:59:59",
      "trial_plan_type": "premium",
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "483"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 5
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0
      },
      "workflows": {
        "type": "metered",
        "limit": 2
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 7
      },
      "multigrouping": {
        "type": "switch",
        "available": false
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": false
      },
      "subsidiaries": {
        "type": "switch",
        "available": false
      },
      "time_approvals": {
        "type": "switch",
        "available": false
      },
      "expenses_approvals": {
        "type": "switch",
        "available": false
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": false
      },
      "autotracking": {
        "type": "switch",
        "available": false
      },
      "forecasting": {
        "type": "switch",
        "available": false
      },
      "webhooks": {
        "type": "switch",
        "available": false
      },
      "table_pivoting": {
        "type": "switch",
        "available": false
      },
      "formula_fields": {
        "type": "switch",
        "available": false
      },
      "single_sign_on": {
        "type": "switch",
        "available": false
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": false
      },
      "payment_sync": {
        "type": "switch",
        "available": false
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": false
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": false
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": false
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": false
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/484

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "trial_plan_type": "premium"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "484",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 5
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0
          },
          "workflows": {
            "type": "metered",
            "limit": 2
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 7
          },
          "multigrouping": {
            "type": "switch",
            "available": false
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": false
          },
          "subsidiaries": {
            "type": "switch",
            "available": false
          },
          "time_approvals": {
            "type": "switch",
            "available": false
          },
          "expenses_approvals": {
            "type": "switch",
            "available": false
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": false
          },
          "autotracking": {
            "type": "switch",
            "available": false
          },
          "forecasting": {
            "type": "switch",
            "available": false
          },
          "webhooks": {
            "type": "switch",
            "available": false
          },
          "table_pivoting": {
            "type": "switch",
            "available": false
          },
          "formula_fields": {
            "type": "switch",
            "available": false
          },
          "single_sign_on": {
            "type": "switch",
            "available": false
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": false
          },
          "payment_sync": {
            "type": "switch",
            "available": false
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": false
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": false
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": false
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": false
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [
          {
            "id": "premium",
            "name": "Premium",
            "type": "regular",
            "monthly_price_cents": 2400,
            "yearly_price_cents": 24000,
            "currency": "USD",
            "upgrades": [],
            "downgrades": [
              "standard"
            ],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 15
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 10
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 100
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 30
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 30
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 5
              },
              "workflows": {
                "type": "metered",
                "limit": 5
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 180
              },
              "multigrouping": {
                "type": "switch",
                "available": true
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": true
              },
              "subsidiaries": {
                "type": "switch",
                "available": true
              },
              "time_approvals": {
                "type": "switch",
                "available": true
              },
              "expenses_approvals": {
                "type": "switch",
                "available": true
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": true
              },
              "autotracking": {
                "type": "switch",
                "available": true
              },
              "forecasting": {
                "type": "switch",
                "available": true
              },
              "webhooks": {
                "type": "switch",
                "available": true
              },
              "table_pivoting": {
                "type": "switch",
                "available": true
              },
              "formula_fields": {
                "type": "switch",
                "available": true
              },
              "single_sign_on": {
                "type": "switch",
                "available": true
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": true
              },
              "payment_sync": {
                "type": "switch",
                "available": true
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": true
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": true
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": true
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": true
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ],
        "downgradeables": []
      },
      "plan_type": "standard",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": "2019-01-15 23:59:59",
      "trial_plan_type": "premium",
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "484"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 5
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0
      },
      "workflows": {
        "type": "metered",
        "limit": 2
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 7
      },
      "multigrouping": {
        "type": "switch",
        "available": false
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": false
      },
      "subsidiaries": {
        "type": "switch",
        "available": false
      },
      "time_approvals": {
        "type": "switch",
        "available": false
      },
      "expenses_approvals": {
        "type": "switch",
        "available": false
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": false
      },
      "autotracking": {
        "type": "switch",
        "available": false
      },
      "forecasting": {
        "type": "switch",
        "available": false
      },
      "webhooks": {
        "type": "switch",
        "available": false
      },
      "table_pivoting": {
        "type": "switch",
        "available": false
      },
      "formula_fields": {
        "type": "switch",
        "available": false
      },
      "single_sign_on": {
        "type": "switch",
        "available": false
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": false
      },
      "payment_sync": {
        "type": "switch",
        "available": false
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": false
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": false
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": false
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": false
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/485

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "plan_cycle": "year",
      "trial_plan_type": "premium"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "485",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 5
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0
          },
          "workflows": {
            "type": "metered",
            "limit": 2
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 7
          },
          "multigrouping": {
            "type": "switch",
            "available": false
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": false
          },
          "subsidiaries": {
            "type": "switch",
            "available": false
          },
          "time_approvals": {
            "type": "switch",
            "available": false
          },
          "expenses_approvals": {
            "type": "switch",
            "available": false
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": false
          },
          "autotracking": {
            "type": "switch",
            "available": false
          },
          "forecasting": {
            "type": "switch",
            "available": false
          },
          "webhooks": {
            "type": "switch",
            "available": false
          },
          "table_pivoting": {
            "type": "switch",
            "available": false
          },
          "formula_fields": {
            "type": "switch",
            "available": false
          },
          "single_sign_on": {
            "type": "switch",
            "available": false
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": false
          },
          "payment_sync": {
            "type": "switch",
            "available": false
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": false
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": false
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": false
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": false
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [
          {
            "id": "premium",
            "name": "Premium",
            "type": "regular",
            "monthly_price_cents": 2400,
            "yearly_price_cents": 24000,
            "currency": "USD",
            "upgrades": [],
            "downgrades": [
              "standard"
            ],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 15
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 10
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 100
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 30
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 30
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 5
              },
              "workflows": {
                "type": "metered",
                "limit": 5
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 180
              },
              "multigrouping": {
                "type": "switch",
                "available": true
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": true
              },
              "subsidiaries": {
                "type": "switch",
                "available": true
              },
              "time_approvals": {
                "type": "switch",
                "available": true
              },
              "expenses_approvals": {
                "type": "switch",
                "available": true
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": true
              },
              "autotracking": {
                "type": "switch",
                "available": true
              },
              "forecasting": {
                "type": "switch",
                "available": true
              },
              "webhooks": {
                "type": "switch",
                "available": true
              },
              "table_pivoting": {
                "type": "switch",
                "available": true
              },
              "formula_fields": {
                "type": "switch",
                "available": true
              },
              "single_sign_on": {
                "type": "switch",
                "available": true
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": true
              },
              "payment_sync": {
                "type": "switch",
                "available": true
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": true
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": true
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": true
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": true
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ],
        "downgradeables": []
      },
      "plan_type": "standard",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": "2019-01-15 23:59:59",
      "trial_plan_type": "premium",
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "485"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 5
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0
      },
      "workflows": {
        "type": "metered",
        "limit": 2
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 7
      },
      "multigrouping": {
        "type": "switch",
        "available": false
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": false
      },
      "subsidiaries": {
        "type": "switch",
        "available": false
      },
      "time_approvals": {
        "type": "switch",
        "available": false
      },
      "expenses_approvals": {
        "type": "switch",
        "available": false
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": false
      },
      "autotracking": {
        "type": "switch",
        "available": false
      },
      "forecasting": {
        "type": "switch",
        "available": false
      },
      "webhooks": {
        "type": "switch",
        "available": false
      },
      "table_pivoting": {
        "type": "switch",
        "available": false
      },
      "formula_fields": {
        "type": "switch",
        "available": false
      },
      "single_sign_on": {
        "type": "switch",
        "available": false
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": false
      },
      "payment_sync": {
        "type": "switch",
        "available": false
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": false
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": false
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": false
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": false
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/486

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "plan_cycle": "year"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "486",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 5
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0
          },
          "workflows": {
            "type": "metered",
            "limit": 2
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 7
          },
          "multigrouping": {
            "type": "switch",
            "available": false
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": false
          },
          "subsidiaries": {
            "type": "switch",
            "available": false
          },
          "time_approvals": {
            "type": "switch",
            "available": false
          },
          "expenses_approvals": {
            "type": "switch",
            "available": false
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": false
          },
          "autotracking": {
            "type": "switch",
            "available": false
          },
          "forecasting": {
            "type": "switch",
            "available": false
          },
          "webhooks": {
            "type": "switch",
            "available": false
          },
          "table_pivoting": {
            "type": "switch",
            "available": false
          },
          "formula_fields": {
            "type": "switch",
            "available": false
          },
          "single_sign_on": {
            "type": "switch",
            "available": false
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": false
          },
          "payment_sync": {
            "type": "switch",
            "available": false
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": false
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": false
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": false
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": false
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [
          {
            "id": "premium",
            "name": "Premium",
            "type": "regular",
            "monthly_price_cents": 2400,
            "yearly_price_cents": 24000,
            "currency": "USD",
            "upgrades": [],
            "downgrades": [
              "standard"
            ],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 15
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 10
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 100
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 30
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 30
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 5
              },
              "workflows": {
                "type": "metered",
                "limit": 5
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 180
              },
              "multigrouping": {
                "type": "switch",
                "available": true
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": true
              },
              "subsidiaries": {
                "type": "switch",
                "available": true
              },
              "time_approvals": {
                "type": "switch",
                "available": true
              },
              "expenses_approvals": {
                "type": "switch",
                "available": true
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": true
              },
              "autotracking": {
                "type": "switch",
                "available": true
              },
              "forecasting": {
                "type": "switch",
                "available": true
              },
              "webhooks": {
                "type": "switch",
                "available": true
              },
              "table_pivoting": {
                "type": "switch",
                "available": true
              },
              "formula_fields": {
                "type": "switch",
                "available": true
              },
              "single_sign_on": {
                "type": "switch",
                "available": true
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": true
              },
              "payment_sync": {
                "type": "switch",
                "available": true
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": true
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": true
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": true
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": true
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ],
        "downgradeables": []
      },
      "plan_type": "standard",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": "2019-01-08 23:59:59",
      "trial_plan_type": "premium",
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "486"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 5
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0
      },
      "workflows": {
        "type": "metered",
        "limit": 2
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 7
      },
      "multigrouping": {
        "type": "switch",
        "available": false
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": false
      },
      "subsidiaries": {
        "type": "switch",
        "available": false
      },
      "time_approvals": {
        "type": "switch",
        "available": false
      },
      "expenses_approvals": {
        "type": "switch",
        "available": false
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": false
      },
      "autotracking": {
        "type": "switch",
        "available": false
      },
      "forecasting": {
        "type": "switch",
        "available": false
      },
      "webhooks": {
        "type": "switch",
        "available": false
      },
      "table_pivoting": {
        "type": "switch",
        "available": false
      },
      "formula_fields": {
        "type": "switch",
        "available": false
      },
      "single_sign_on": {
        "type": "switch",
        "available": false
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": false
      },
      "payment_sync": {
        "type": "switch",
        "available": false
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": false
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": false
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": false
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": false
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/487

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "plan_type": "premium"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "487",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 24,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 5
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0
          },
          "workflows": {
            "type": "metered",
            "limit": 2
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 7
          },
          "multigrouping": {
            "type": "switch",
            "available": false
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": false
          },
          "subsidiaries": {
            "type": "switch",
            "available": false
          },
          "time_approvals": {
            "type": "switch",
            "available": false
          },
          "expenses_approvals": {
            "type": "switch",
            "available": false
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": false
          },
          "autotracking": {
            "type": "switch",
            "available": false
          },
          "forecasting": {
            "type": "switch",
            "available": false
          },
          "webhooks": {
            "type": "switch",
            "available": false
          },
          "table_pivoting": {
            "type": "switch",
            "available": false
          },
          "formula_fields": {
            "type": "switch",
            "available": false
          },
          "single_sign_on": {
            "type": "switch",
            "available": false
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": false
          },
          "payment_sync": {
            "type": "switch",
            "available": false
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": false
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": false
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": false
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": false
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": "2019-01-08 23:59:59",
      "trial_plan_type": "premium",
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "487"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 5
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0
      },
      "workflows": {
        "type": "metered",
        "limit": 2
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 7
      },
      "multigrouping": {
        "type": "switch",
        "available": false
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": false
      },
      "subsidiaries": {
        "type": "switch",
        "available": false
      },
      "time_approvals": {
        "type": "switch",
        "available": false
      },
      "expenses_approvals": {
        "type": "switch",
        "available": false
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": false
      },
      "autotracking": {
        "type": "switch",
        "available": false
      },
      "forecasting": {
        "type": "switch",
        "available": false
      },
      "webhooks": {
        "type": "switch",
        "available": false
      },
      "table_pivoting": {
        "type": "switch",
        "available": false
      },
      "formula_fields": {
        "type": "switch",
        "available": false
      },
      "single_sign_on": {
        "type": "switch",
        "available": false
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": false
      },
      "payment_sync": {
        "type": "switch",
        "available": false
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": false
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": false
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": false
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": false
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/488

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "trial_plan_type": "premium"
    }
  }
}
Responses422
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "errors": [
    {
      "status": "422",
      "code": "invalid_attribute",
      "title": "Invalid Attribute",
      "detail": "can't trial plans in free trial",
      "source": {
        "pointer": "data/attributes/trial_plan_type"
      }
    }
  ]
}

PATCH  /api/v2/organization_subscriptions/489

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "trial_plan_type": "premium"
    }
  }
}
Responses422
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "errors": [
    {
      "status": "422",
      "code": "invalid_attribute",
      "title": "Invalid Attribute",
      "detail": "can't trial plan more than once",
      "source": {
        "pointer": "data/attributes/trial_plan_type"
      }
    }
  ]
}

PATCH  /api/v2/organization_subscriptions/490

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "trial_plan_type": null
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "490",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 5
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0
          },
          "workflows": {
            "type": "metered",
            "limit": 2
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 7
          },
          "multigrouping": {
            "type": "switch",
            "available": false
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": false
          },
          "subsidiaries": {
            "type": "switch",
            "available": false
          },
          "time_approvals": {
            "type": "switch",
            "available": false
          },
          "expenses_approvals": {
            "type": "switch",
            "available": false
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": false
          },
          "autotracking": {
            "type": "switch",
            "available": false
          },
          "forecasting": {
            "type": "switch",
            "available": false
          },
          "webhooks": {
            "type": "switch",
            "available": false
          },
          "table_pivoting": {
            "type": "switch",
            "available": false
          },
          "formula_fields": {
            "type": "switch",
            "available": false
          },
          "single_sign_on": {
            "type": "switch",
            "available": false
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": false
          },
          "payment_sync": {
            "type": "switch",
            "available": false
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": false
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": false
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": false
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": false
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [
          {
            "id": "premium",
            "name": "Premium",
            "type": "regular",
            "monthly_price_cents": 2400,
            "yearly_price_cents": 24000,
            "currency": "USD",
            "upgrades": [],
            "downgrades": [
              "standard"
            ],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 15
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 10
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 100
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 30
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 30
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 5
              },
              "workflows": {
                "type": "metered",
                "limit": 5
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 180
              },
              "multigrouping": {
                "type": "switch",
                "available": true
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": true
              },
              "subsidiaries": {
                "type": "switch",
                "available": true
              },
              "time_approvals": {
                "type": "switch",
                "available": true
              },
              "expenses_approvals": {
                "type": "switch",
                "available": true
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": true
              },
              "autotracking": {
                "type": "switch",
                "available": true
              },
              "forecasting": {
                "type": "switch",
                "available": true
              },
              "webhooks": {
                "type": "switch",
                "available": true
              },
              "table_pivoting": {
                "type": "switch",
                "available": true
              },
              "formula_fields": {
                "type": "switch",
                "available": true
              },
              "single_sign_on": {
                "type": "switch",
                "available": true
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": true
              },
              "payment_sync": {
                "type": "switch",
                "available": true
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": true
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": true
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": true
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": true
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ],
        "downgradeables": []
      },
      "plan_type": "standard",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": "2019-01-08 23:59:59",
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "490"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 5
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0
      },
      "workflows": {
        "type": "metered",
        "limit": 2
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 7
      },
      "multigrouping": {
        "type": "switch",
        "available": false
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": false
      },
      "subsidiaries": {
        "type": "switch",
        "available": false
      },
      "time_approvals": {
        "type": "switch",
        "available": false
      },
      "expenses_approvals": {
        "type": "switch",
        "available": false
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": false
      },
      "autotracking": {
        "type": "switch",
        "available": false
      },
      "forecasting": {
        "type": "switch",
        "available": false
      },
      "webhooks": {
        "type": "switch",
        "available": false
      },
      "table_pivoting": {
        "type": "switch",
        "available": false
      },
      "formula_fields": {
        "type": "switch",
        "available": false
      },
      "single_sign_on": {
        "type": "switch",
        "available": false
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": false
      },
      "payment_sync": {
        "type": "switch",
        "available": false
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": false
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": false
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": false
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": false
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/491

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "plan_cycle": "year"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "491",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 100
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 30
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5
          },
          "workflows": {
            "type": "metered",
            "limit": 5
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 180
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": true
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": true
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "491"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/492

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "plan_cycle": "month"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "492",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 24,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 100
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 30
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5
          },
          "workflows": {
            "type": "metered",
            "limit": 5
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 180
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": true
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": true
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "492"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/493

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "plan_type": "premium"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "493",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 24,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 5
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0
          },
          "workflows": {
            "type": "metered",
            "limit": 2
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 7
          },
          "multigrouping": {
            "type": "switch",
            "available": false
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": false
          },
          "subsidiaries": {
            "type": "switch",
            "available": false
          },
          "time_approvals": {
            "type": "switch",
            "available": false
          },
          "expenses_approvals": {
            "type": "switch",
            "available": false
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": false
          },
          "autotracking": {
            "type": "switch",
            "available": false
          },
          "forecasting": {
            "type": "switch",
            "available": false
          },
          "webhooks": {
            "type": "switch",
            "available": false
          },
          "table_pivoting": {
            "type": "switch",
            "available": false
          },
          "formula_fields": {
            "type": "switch",
            "available": false
          },
          "single_sign_on": {
            "type": "switch",
            "available": false
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": false
          },
          "payment_sync": {
            "type": "switch",
            "available": false
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": false
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": false
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": false
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": false
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "493"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 5
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0
      },
      "workflows": {
        "type": "metered",
        "limit": 2
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 7
      },
      "multigrouping": {
        "type": "switch",
        "available": false
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": false
      },
      "subsidiaries": {
        "type": "switch",
        "available": false
      },
      "time_approvals": {
        "type": "switch",
        "available": false
      },
      "expenses_approvals": {
        "type": "switch",
        "available": false
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": false
      },
      "autotracking": {
        "type": "switch",
        "available": false
      },
      "forecasting": {
        "type": "switch",
        "available": false
      },
      "webhooks": {
        "type": "switch",
        "available": false
      },
      "table_pivoting": {
        "type": "switch",
        "available": false
      },
      "formula_fields": {
        "type": "switch",
        "available": false
      },
      "single_sign_on": {
        "type": "switch",
        "available": false
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": false
      },
      "payment_sync": {
        "type": "switch",
        "available": false
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": false
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": false
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": false
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": false
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/494

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "plan_type": "standard",
      "plan_cycle": "month"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "494",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 15,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 100
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 30
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5
          },
          "workflows": {
            "type": "metered",
            "limit": 5
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 180
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": true
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": true
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [
          {
            "id": "premium",
            "name": "Premium",
            "type": "regular",
            "monthly_price_cents": 2400,
            "yearly_price_cents": 24000,
            "currency": "USD",
            "upgrades": [],
            "downgrades": [
              "standard"
            ],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 15
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 10
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 100
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 30
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 30
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 5
              },
              "workflows": {
                "type": "metered",
                "limit": 5
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 180
              },
              "multigrouping": {
                "type": "switch",
                "available": true
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": true
              },
              "subsidiaries": {
                "type": "switch",
                "available": true
              },
              "time_approvals": {
                "type": "switch",
                "available": true
              },
              "expenses_approvals": {
                "type": "switch",
                "available": true
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": true
              },
              "autotracking": {
                "type": "switch",
                "available": true
              },
              "forecasting": {
                "type": "switch",
                "available": true
              },
              "webhooks": {
                "type": "switch",
                "available": true
              },
              "table_pivoting": {
                "type": "switch",
                "available": true
              },
              "formula_fields": {
                "type": "switch",
                "available": true
              },
              "single_sign_on": {
                "type": "switch",
                "available": true
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": true
              },
              "payment_sync": {
                "type": "switch",
                "available": true
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": true
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": true
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": true
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": true
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ],
        "downgradeables": []
      },
      "plan_type": "standard",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "494"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/495

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "plan_cycle": "month"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "495",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 5,
      "trial_ends_at": null,
      "subscription_ends_at": null,
      "next_billing_cycle_at": null,
      "grace_period_ends_at": null,
      "plan_price": 24,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 100
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 30
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5
          },
          "workflows": {
            "type": "metered",
            "limit": 5
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 180
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": true
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": true
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "495"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/496

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "stripe_token": "tok_u5dg20Gra"
    }
  }
}
Responses402
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "errors": [
    {
      "status": 402,
      "title": "Stripe error",
      "detail": "The card was declined.",
      "source": {
        "pointer": null
      }
    }
  ]
}

Update a organization subscription
PATCH/api/v2/organization_subscriptions/{id}

URI Parameters
HideShow
id
number (required) Example: 1

organization subscription id


PATCH /api/v2/organization_subscriptions/1/cancel
Requestscancels subscriptionreturns error

PATCH  /api/v2/organization_subscriptions/499/cancel

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "deactivation_reason_id": 2,
      "deactivation_note": "Why I quit Productive"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "499",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 6,
      "trial_ends_at": null,
      "subscription_ends_at": "2015-10-15 23:59:59",
      "next_billing_cycle_at": "2015-10-15 23:59:59",
      "grace_period_ends_at": null,
      "plan_price": 24,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 100
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 30
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5
          },
          "workflows": {
            "type": "metered",
            "limit": 5
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 180
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": true
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": true
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 0,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "499"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/500/cancel

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization_subscriptions",
    "attributes": {
      "deactivation_reason_id": 2,
      "deactivation_note": "Why I quit Productive"
    }
  }
}
Responses503
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "errors": [
    {
      "status": 503,
      "title": "Stripe error",
      "detail": "A temporary problem with Stripe's servers.",
      "source": {
        "pointer": null
      }
    }
  ]
}

Cancels a organization subscription
PATCH/api/v2/organization_subscriptions/{id}/cancel

URI Parameters
HideShow
id
number (required) Example: 1

organization subscription id


PATCH /api/v2/organization_subscriptions/1/reactivate
Requestsreactivates subscriptionreturns error

PATCH  /api/v2/organization_subscriptions/501/reactivate

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "501",
    "type": "organization_subscriptions",
    "attributes": {
      "billing_email": null,
      "billing_address": null,
      "subscription_state_id": 1,
      "trial_ends_at": null,
      "subscription_ends_at": "2015-10-15 23:59:59",
      "next_billing_cycle_at": "2015-10-15 23:59:59",
      "grace_period_ends_at": null,
      "plan_price": 24,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "tiers": [],
        "annual_tiers": [],
        "biannual_tiers": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 100
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30
          },
          "public_project_reports": {
            "type": "metered",
            "limit": 30
          },
          "private_project_reports": {
            "type": "metered",
            "limit": 10
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5
          },
          "workflows": {
            "type": "metered",
            "limit": 5
          },
          "recycle_bin": {
            "type": "restricted",
            "available": true,
            "limit": 180
          },
          "multigrouping": {
            "type": "switch",
            "available": true
          },
          "client_access_to_budgets": {
            "type": "switch",
            "available": true
          },
          "subsidiaries": {
            "type": "switch",
            "available": true
          },
          "time_approvals": {
            "type": "switch",
            "available": true
          },
          "expenses_approvals": {
            "type": "switch",
            "available": true
          },
          "timeoff_approvals": {
            "type": "switch",
            "available": true
          },
          "autotracking": {
            "type": "switch",
            "available": true
          },
          "forecasting": {
            "type": "switch",
            "available": true
          },
          "webhooks": {
            "type": "switch",
            "available": true
          },
          "table_pivoting": {
            "type": "switch",
            "available": true
          },
          "formula_fields": {
            "type": "switch",
            "available": true
          },
          "single_sign_on": {
            "type": "switch",
            "available": true
          },
          "duplicate_tasks": {
            "type": "switch",
            "available": true
          },
          "billable_time_rounding": {
            "type": "switch",
            "available": true
          },
          "payment_sync": {
            "type": "switch",
            "available": true
          },
          "booking_methods": {
            "type": "switch",
            "available": true
          },
          "import_tasks_csv": {
            "type": "switch",
            "available": true
          },
          "reactions": {
            "type": "switch",
            "available": true
          },
          "time_week_view": {
            "type": "switch",
            "available": true
          },
          "subtasks": {
            "type": "switch",
            "available": true
          },
          "time_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "theming": {
            "type": "switch",
            "available": true
          },
          "remove_branding": {
            "type": "switch",
            "available": true
          },
          "custom_invoicing_email": {
            "type": "switch",
            "available": true
          },
          "google_calendar_layout": {
            "type": "switch",
            "available": true
          },
          "pulse": {
            "type": "switch",
            "available": true
          },
          "slack": {
            "type": "switch",
            "available": true
          },
          "task_custom_fields_library": {
            "type": "switch",
            "available": true
          },
          "timeline_layout": {
            "type": "switch",
            "available": true
          },
          "comment_visibility": {
            "type": "switch",
            "available": true
          },
          "time_off_sync": {
            "type": "switch",
            "available": true
          }
        },
        "upgradeables": [],
        "downgradeables": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "annual_tiers": [],
            "biannual_tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "public_project_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_project_reports": {
                "type": "metered",
                "limit": 5
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "workflows": {
                "type": "metered",
                "limit": 2
              },
              "recycle_bin": {
                "type": "restricted",
                "available": true,
                "limit": 7
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              },
              "slack": {
                "type": "switch",
                "available": true
              },
              "task_custom_fields_library": {
                "type": "switch",
                "available": true
              },
              "timeline_layout": {
                "type": "switch",
                "available": true
              },
              "comment_visibility": {
                "type": "switch",
                "available": false
              },
              "time_off_sync": {
                "type": "switch",
                "available": true
              }
            }
          }
        ]
      },
      "plan_type": "premium",
      "payment_method_id": 1,
      "seats": 1,
      "seats_used": 1,
      "seats_pending": 0,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "stripe_customer_id": "cus_474RjipEtz2ff7",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "501"
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30
      },
      "public_project_reports": {
        "type": "metered",
        "limit": 30
      },
      "private_project_reports": {
        "type": "metered",
        "limit": 10
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5
      },
      "workflows": {
        "type": "metered",
        "limit": 5
      },
      "recycle_bin": {
        "type": "restricted",
        "available": true,
        "limit": 180
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      },
      "slack": {
        "type": "switch",
        "available": true
      },
      "task_custom_fields_library": {
        "type": "switch",
        "available": true
      },
      "timeline_layout": {
        "type": "switch",
        "available": true
      },
      "comment_visibility": {
        "type": "switch",
        "available": true
      },
      "time_off_sync": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

PATCH  /api/v2/organization_subscriptions/502/reactivate

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses503
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "errors": [
    {
      "status": 503,
      "title": "Stripe error",
      "detail": "A temporary problem with Stripe's servers.",
      "source": {
        "pointer": null
      }
    }
  ]
}

Reactivates a organization subscription
PATCH/api/v2/organization_subscriptions/{id}/reactivate

URI Parameters
HideShow
id
number (required) Example: 1

organization subscription id


Generated by aglio on 05 Dec 2021