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/414

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": "414",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 414
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "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
      }
    }
  }
}

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/415

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": "415",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": "MasterCard",
      "card_last4": "5100",
      "card_month": "12",
      "card_year": "2020",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 415
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/416

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": "416",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": "MasterCard",
      "card_last4": "5100",
      "card_month": "12",
      "card_year": "2020",
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 416
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/417

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": "417",
    "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,
      "monthly_plan_price": 15,
      "yearly_plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "standard",
      "downgrades": [],
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [
        {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "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
            }
          }
        }
      ],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 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,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 417
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/418

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": "418",
    "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,
      "monthly_plan_price": 15,
      "yearly_plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "plan_type": "standard",
      "downgrades": [],
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [
        {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "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
            }
          }
        }
      ],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 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,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 418
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/419

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": "419",
    "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,
      "monthly_plan_price": 15,
      "yearly_plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "plan_type": "standard",
      "downgrades": [],
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [
        {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "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
            }
          }
        }
      ],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 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,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 419
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/420

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": "420",
    "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,
      "monthly_plan_price": 15,
      "yearly_plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "plan_type": "standard",
      "downgrades": [],
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [
        {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "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
            }
          }
        }
      ],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 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,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 420
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/421

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": "421",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 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,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 421
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/422

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/423

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/424

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": "424",
    "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,
      "monthly_plan_price": 15,
      "yearly_plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "plan_type": "standard",
      "downgrades": [],
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [
        {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "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
            }
          }
        }
      ],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 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,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 424
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/425

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": "425",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "year",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 425
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/426

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": "426",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 426
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/427

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": "427",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 3,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 1,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 0,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 427
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 3,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 1,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 0,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/428

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": "428",
    "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,
      "monthly_plan_price": 15,
      "yearly_plan_price": 150,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "standard",
      "downgrades": [],
      "current_plan": {
        "id": "standard",
        "name": "Standard",
        "type": "regular",
        "monthly_price_cents": 1500,
        "yearly_price_cents": 15000,
        "currency": "USD",
        "upgrades": [
          "premium"
        ],
        "downgrades": [],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [
        {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5
            },
            "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
            }
          }
        }
      ],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 428
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/429

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": "429",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 429
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/430

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/433/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": "433",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 433
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/434/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/435/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": "435",
    "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,
      "monthly_plan_price": 24,
      "yearly_plan_price": 240,
      "discount": null,
      "discount_expires_on": null,
      "plan_cycle": "month",
      "plan_type": "premium",
      "downgrades": [
        {
          "id": "standard",
          "name": "Standard",
          "type": "regular",
          "monthly_price_cents": 1500,
          "yearly_price_cents": 15000,
          "currency": "USD",
          "upgrades": [
            "premium"
          ],
          "downgrades": [],
          "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
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 0
            },
            "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
            }
          }
        }
      ],
      "current_plan": {
        "id": "premium",
        "name": "Premium",
        "type": "regular",
        "monthly_price_cents": 2400,
        "yearly_price_cents": 24000,
        "currency": "USD",
        "upgrades": [],
        "downgrades": [
          "standard"
        ],
        "features": {
          "custom_fields": {
            "type": "metered",
            "limit": 15,
            "used": 0
          },
          "custom_fields_per_project": {
            "type": "metered",
            "limit": 10,
            "used": 0
          },
          "public_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "private_custom_reports": {
            "type": "metered",
            "limit": 30,
            "used": 0
          },
          "scheduling_placeholders": {
            "type": "metered",
            "limit": 5,
            "used": 0
          },
          "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
          }
        }
      },
      "upgrades": [],
      "payment_method_id": 1,
      "employee_count": 1,
      "seats": null,
      "seats_used": 1,
      "trial_plan_ends_at": null,
      "trial_plan_type": null,
      "card_brand": null,
      "card_last4": null,
      "card_month": null,
      "card_year": null,
      "balance": null
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": 435
        }
      }
    }
  },
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "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
      }
    }
  }
}

PATCH  /api/v2/organization_subscriptions/436/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 20 Oct 2020