---
# System prepended metadata

title: List API SP v3
tags: [Teko]

---

# List API SP v3

## Danh sách dùng chung
* /provinces - GET - call API Location System
* /districts - GET - call API Location System
* /wards - GET - call API Location System
* /areas - GET

## Login/Logout
* /login/oauth - Login via Oauth - POST
* /logout - POST

## User, Permission
* /users - GET, POST
* /users/{id} - GET, PUT, DELETE

## Service
* /services - GET

## Merchant
* /merchants - GET - call API MS + **seach theo số đt customer**
* /merchants/{id} - GET - call API MS
* **/merchants/create - POST - call API MS**

## Terminal
* /terminals - GET - call API MS
* /terminals/{id} - GET - call API MS
* /terminals/{id}/shop/{id} - PUT - Gán shop vào Terminal

## Shop
* /shops - GET, POST + phân biệt trang thái active/inactive
* /shops/{id} - GET, PUT
* /shops/{id}/register-services - POST - call API MS
* /shops/update-services-status - POST - MS call api SP

## Staff
* Job sync - call api MS theo updated_at
* /staffs - GET
* /staffs/{id} - GET

## Staff Role
* /staffs/{id}/team/{id} - POST, PUT, DELETE
* /staffs/{id}/shop/{id} - POST, PUT, DELETE
* /staffs/{id}/merchant/{id} - POST, PUT, DELETE

## Team
* /teams - GET, POST
* /teams/{id} - GET, PUT, DELETE

## Sale Form Take Care (Sale Report Form)
* /sale-form-take-cares - GET, POST
* /sale-form-take-cares/{id} - GET

## Sale Form Promotion (Sale Promotion Form)
* /sale-title-promotions - GET, POST
* /sale-title-promotions/{id} - GET, PUT, DELETE
* /sale-form-promotions - GET
* /sale-form-promotions/import - POST
* /sale-form-promotions/{id} - GET, PUT