Catalog
Create a product
Needs the catalog:write scope, or a full-access key. About scopes
POST
/
api/v1/productsAuthorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalnameRequiredstring
Minimum length:
1Maximum length: 200descriptionstring
Maximum length:
2000trial_daysinteger
Minimum:
0Maximum: 365portal_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).
Header Parameters
Idempotency-Keystring
A unique value for this operation, chosen by you. A retry with the same key and the same body returns the first response instead of running again. The same key with a different body answers 409 idempotency_key_reused; a key whose first request is still running answers 409 idempotency_in_progress.
Product created.