Sign in

Update Config

PUT https://{organization}.myguper.com/api/register/tier/config/{id}

Updates an existing tier configuration. Only fields included in the body are changed; level/source arrays are replaced wholesale.

Try-it values populated from environment ACME (Demo)


Authentication

Token

Send your user token in the x-guper-authorization header.

Headers

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Path parameters

Name Type Description
id * integer Internal ID of the tier configuration to update.

Request body

Content-Type: application/json

{
    "name": "Programa Guper 2026",                              // optional
    "levels": "<levels>",                                       // optional
    "sources": "<sources>",                                     // optional
    "isActive": false,                                          // optional
    "autoEnrollOnOptIn": true                                   // optional
}

Responses

{ "affectedRows": 1 }
Copied to clipboard