APIPaymentsUpdate the subscription for an org

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties
    • modeling_app

      string
      optional
      Possible values
      • team:  The team tier.
      • enterprise:  The enterprise tier.
    • pay_annually

      boolean
      optional

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
put
/org/payment/subscriptions
$ curl -X PUT "https://api.zoo.dev/org/payment/subscriptions" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "modeling_app": "team",
  "pay_annually": false
}'
200 OK
Response
{
  "modeling_app": {
    "annual_discount": 13,
    "description": "F50MJC0HgnFXMC2TDxNB",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "NHa0hQ5gMOFEdzW2YDMWJWolH4c7zsMZ8ja4rMYBE1eELinc6A7J4rZnr4RSIZIekYV"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 32,
    "monthly_pay_as_you_go_api_credits_monetary_value": "35.13",
    "name": "free",
    "pay_as_you_go_api_credit_price": "89.51",
    "price": {
      "interval": "month",
      "price": "80.06",
      "type": "flat"
    },
    "share_links": [
      "public"
    ],
    "support_tier": "standard_email",
    "training_data_behavior": "default_on",
    "type": {
      "saml_sso": true,
      "type": "organization"
    },
    "zoo_tools_included": [
      "modeling_app"
    ]
  }
}