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": "enterprise",
  "pay_annually": false
}'
200 OK
Response
{
  "modeling_app": {
    "annual_discount": 6,
    "description": "Zv64VG56cJi",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "lKqb5oF0sgVX"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 11,
    "monthly_pay_as_you_go_api_credits_monetary_value": "16.11",
    "name": "enterprise",
    "pay_as_you_go_api_credit_price": "100.98",
    "price": {
      "type": "enterprise"
    },
    "share_links": [
      "password_protected"
    ],
    "support_tier": "premium",
    "training_data_behavior": "always",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "modeling_app"
    ]
  }
}