Catalog
View as Markdown

Update a product (name, description, portal settings)

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

PATCH
/api/v1/products/{id}

Authorization

Authorization
Required
Bearer <token>

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

In: header

Request Body

application/jsonOptional

namestring

Minimum length: 1Maximum length: 200

descriptionstring | null

Maximum length: 2000

portal_allow_plan_changeboolean

Omitted = true. False: the portal hides "Change plan" and refuses it (422 change_not_allowed).

portal_allow_seat_changeboolean

Omitted = true. False: the portal hides seat changes and refuses them, including a plan change with another seat count (422 change_not_allowed).

Path Parameters

id
Required
string

Format: "uuid"
curl -X PATCH "https://globalymint.com/api/v1/products/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "description": "string",
    "portal_allow_plan_change": true,
    "portal_allow_seat_change": true
  }'

The product, as GET /products/{id} returns it.

{
  "data": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "string",
    "description": "string",
    "trialDays": 0,
    "portal_allow_plan_change": true,
    "portal_allow_seat_change": true
  },
  "_agent": {
    "summary": "string",
    "status": "ok",
    "next_actions": [
      "string"
    ],
    "warnings": [
      "string"
    ]
  },
  "api_version": "2026-07-01"
}