Cashier

Read Cashiers

SecurityE-Receipt_IT_API_OAuth2PasswordBearer
Request
query Parameters
page
integer (Page) >= 1
Default: 1

Page number

size
integer (Size)
Default: 30
Responses
200

Successful Response

403

Forbidden

404

Not Found

422

Validation Error

get/mf1/cashiers
Request samples
Response samples
application/json
{
  • "members": [
    ],
  • "total": 0,
  • "page": 1,
  • "size": 1,
  • "pages": 0
}

Create Cashier

SecurityE-Receipt_IT_API_OAuth2PasswordBearer
Request
Request Body schema: application/json
required
email
required
string (Email) <= 255 characters
password
required
string (Password) [ 8 .. 40 ] characters
first_name
required
string (First Name) <= 255 characters
last_name
required
string (Last Name) <= 255 characters
Responses
201

Successful Response

403

Forbidden

404

Not Found

422

Validation Error

post/mf1/cashiers
Request samples
application/json
{
  • "email": "string",
  • "password": "stringst",
  • "first_name": "string",
  • "last_name": "string"
}
Response samples
application/json
{
  • "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
  • "merchant_uuid": "ec27f24b-dbba-4c9a-aed0-9cec1c3b9e51",
  • "email": "string",
  • "first_name": "string",
  • "last_name": "string"
}

Read Cashier Me

Read currently authenticated cashier's information

SecurityE-Receipt_IT_API_OAuth2PasswordBearer
Responses
200

Successful Response

403

Forbidden

404

Not Found

get/mf1/cashiers/me
Request samples
Response samples
application/json
{
  • "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
  • "merchant_uuid": "ec27f24b-dbba-4c9a-aed0-9cec1c3b9e51",
  • "email": "string",
  • "first_name": "string",
  • "last_name": "string"
}

Read Cashier By Id

Get a specific user by id.

SecurityE-Receipt_IT_API_OAuth2PasswordBearer
Request
path Parameters
cashier_id
required
string <uuid> (Cashier Id)
Responses
200

Successful Response

403

Forbidden

404

Not Found

422

Validation Error

get/mf1/cashiers/{cashier_id}
Request samples
Response samples
application/json
{
  • "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
  • "merchant_uuid": "ec27f24b-dbba-4c9a-aed0-9cec1c3b9e51",
  • "email": "string",
  • "first_name": "string",
  • "last_name": "string"
}

Delete Cashier

Delete a cashier and the associated user.

SecurityE-Receipt_IT_API_OAuth2PasswordBearer
Request
path Parameters
cashier_id
required
string <uuid> (Cashier Id)
Responses
204

Successful Response

403

Forbidden

404

Not Found

422

Validation Error

delete/mf1/cashiers/{cashier_id}
Request samples
Response samples
application/json
{
  • "type": "/errors/403",
  • "title": "Forbidden",
  • "status": 403,
  • "detail": "A human-readable explanation specific to this occurrence of the problem",
  • "instance": "A URI reference that identifies the specific occurrence of the problem"
}