APIPaymentsUpdate the user's subscription

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
put
/user/payment/subscriptions
$ curl -X PUT "https://api.zoo.dev/user/payment/subscriptions" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "modeling_app": "free",
  "pay_annually": false
}'
200 OK
Response
{
  "modeling_app": {
    "annual_discount": 18,
    "description": "eLyCFdEdu6AM7",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "9hxEujU7xwI3OKjhGvDOBJRsiezWQ54CdDAXZEXf1"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 30,
    "monthly_pay_as_you_go_api_credits_monetary_value": "46.04",
    "name": "free",
    "pay_as_you_go_api_credit_price": "90.58",
    "price": {
      "interval": "year",
      "price": "41.96",
      "type": "per_user"
    },
    "share_links": [
      "organization_only"
    ],
    "support_tier": "priority_email",
    "training_data_behavior": "always",
    "type": {
      "saml_sso": true,
      "type": "organization"
    },
    "zoo_tools_included": [
      "text_to_cad"
    ]
  }
}