---
title: "Potential customer requests access to store via scanning of QR code of M-APP"
url: "https://developer-qual.migros.ch/apis/teo-know-your-customer-0/versions/43f8c699-6fb3-449b-9f51-3d84d49a48bd/paths/migros-customer-teo-v1-auth-qr/post"
---

> Full API specification: https://developer-qual.migros.ch/apis/teo-know-your-customer-0/versions/43f8c699-6fb3-449b-9f51-3d84d49a48bd.md

# Potential customer requests access to store via scanning of QR code of M-APP

`POST` `/migros/customer/teo/v1/auth/qr`

This is one of the starting points for requesting access to a store

## Request body (required)

Content types: `application/json`

## Responses

- `200` - Successful request
- `400` - Bad Request
- `401` - Unauthorized
- `404` - Not Found
- `500` - Internal Server Error

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: TEO Know-Your-Customer
  version: 0.9.0
servers:
  - description: URL of upstream service
    url: https://smart-entry.service.qual.migros.cloud
paths:
  /migros/customer/teo/v1/auth/qr:
    post:
      description: This is one of the starting points for requesting access to a store
      requestBody:
        content:
          application/json:
            schema:
              properties:
                doorId:
                  description: There can be multiple doors at a location. Usually at 1 meaning
                    main entrance
                  example: "1"
                  type: string
                qrValue:
                  description: Scanned QR code from Migros App
                  example: 9201A11/XX9aWgESA3RzaB9fa1YAUwtlHRkCXHNkdVceZg==
                  type: string
                storeId:
                  description: From which store is the access requested
                  example: A16BCZ
                  type: string
                trackingId:
                  description: UUID to identify requests coming from ES Security
                  example: 04a2bebf-42c7-46b3-afb3-7ec0a4866703
                  type: string
              type: object
        required: true
      responses:
        "200":
          description: Successful request
        "400":
          content:
            application/json:
              schema:
                properties:
                  field:
                    example: doorId
                    type: string
                  message:
                    example: The provided field is not valid
                    type: string
                type: object
          description: Bad Request
        "401":
          description: Unauthorized
        "404":
          content:
            application/json:
              schema:
                properties:
                  field:
                    example: storeID
                    type: string
                  message:
                    example: Entity not found
                    type: string
                type: object
          description: Not Found
        "500":
          description: Internal Server Error
      summary: Potential customer requests access to store via scanning of QR code of
        M-APP
      tags:
        - teo
```
