Sign in

Create Store Group

POST https://{organization}.myguper.com/api/register/storeGroup

Cria um grupo de lojas (storeGroup). Grupos são usados para organizar lojas por região, canal ou bandeira, e para vincular regras de loyalty/cashback a múltiplas lojas de uma vez.

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.

Request body

Content-Type: application/json

{
    "name": "Região Sul"
}

Responses

{
    "id": 1,
    "name": "Região Sul"
}
Copied to clipboard