# Đăng ký doanh nghiệp

# Đăng ký - doanh nghiệp - step 1

Sử dụng APi này để đăng ký tài khoản đăng ký bước 1 trên hệ thống của EI-Shop cho khách hàng doanh nghiệp img

# Endpoint

POST http://api.example.com/api/auth/login

# Parameters

Name Type Description Required
Required parameters String ✔️
Optional parameters String

# Response

Status:200
{
  Items:{

  }
}
curl -X POST http://api.example.com/api/auth/login \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <const name="MOCK_TOKEN" />' \
  --data '{
    "username": "my-username",
    "password": "my-password"
  }'

# Đăng ký - doanh nghiệp - step 2

Sử dụng APi này để đăng ký tài khoản đăng ký bước 1 trên hệ thống của EI-Shop cho khách hàng doanh nghiệp img

# Endpoint

POST http://api.example.com/api/auth/login

# Parameters

Name Type Description Required
Required parameters String ✔️
Optional parameters String

# Response

Status:200
{
  Items:{

  }
}
curl -X POST http://api.example.com/api/auth/login \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <const name="MOCK_TOKEN" />' \
  --data '{
    "username": "my-username",
    "password": "my-password"
  }'