Skip to main content
POST
/
shopkeepers
Registro de uma Sub Loja
curl --request POST \
  --url https://homolog.clubfix.com.br/webservice/shopkeepers \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "trading_name": "Resoluto Digital",
  "registration_number": "81817151000139",
  "phone": "41992885586",
  "website": "https://resolutodigital.com.br",
  "address": {
    "zip_code": "81830120",
    "street": "Rua Santo Bozzi",
    "number": "770",
    "complement": "bloco 6. Apto 622",
    "neighborhood": "Xaxim",
    "city": "Curitiba",
    "state": "PR"
  },
  "responsible": {
    "registration_number": "47401271052",
    "name": "Sergio Danilo Jr",
    "email": "[email protected]",
    "role": "Founder",
    "phone": "41992885586"
  },
  "bank": {
    "account": "0000000",
    "account_digit": "01",
    "agency": "0001",
    "name": "Inter"
  }
}
'
{
  "id": 19,
  "trading_name": "Resoluto Digital",
  "registration_number": "81817151000139",
  "matrix": false,
  "responsible": null,
  "meta": {
    "link": "https://homolog.clubfix.com.br/webservice/shopkeepers/19"
  }
}
Accept
string
required
Deve ser definido como application/json.
Content-Type
string
required
Deve ser definido como application/json.
Authorization
string
required
Token de autenticação do tipo Bearer obtido através do endpoint de login.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string
required

Body

application/json
trading_name
string
registration_number
string
phone
string
website
string
address
object
responsible
object
bank
object

Response

201 - application/json

Registro de uma Sub Loja

id
integer
trading_name
string
registration_number
string
matrix
integer
responsible
string
meta
object