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": 27,
    "description": "6Gbvxq",
    "endpoints_included": [
      "modeling"
    ],
    "features": [
      {
        "info": "u9VVbP1yYN0IWyBHo7SLNGdEIsXt2ZCJiplkO7JSVZY7RkkirUseilhi4eht"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 18,
    "monthly_pay_as_you_go_api_credits_monetary_value": "98.05",
    "name": "team",
    "pay_as_you_go_api_credit_price": "77.29",
    "price": {
      "interval": "day",
      "price": "63.14",
      "type": "per_user"
    },
    "share_links": [
      "public"
    ],
    "support_tier": "priority_email",
    "training_data_behavior": "always",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "text_to_cad"
    ]
  }
}