Entitlements
View as Markdown

Set the default (Free) plan

Needs the catalog:write scope, or a full-access key. About scopes

PUT
/api/v1/entitlement-settings

Authorization

Authorization
Required
Bearer <token>

An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).

In: header

Request Body

application/jsonOptional

default_plan_id
Required
string | null

Format: "uuid"
curl -X PUT "https://globalymint.com/api/v1/entitlement-settings" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "default_plan_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }'

Settings. Emits entitlements.updated for every affected customer.

{
  "data": {
    "default_plan_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  },
  "_agent": {
    "summary": "string",
    "status": "ok",
    "next_actions": [
      "string"
    ],
    "warnings": [
      "string"
    ]
  },
  "api_version": "2026-07-01"
}