---
# System prepended metadata

title: Untitled

---

## Update Shop by Staff

- Curl:

```json
curl --location --request PATCH 'http://localhost:5001/kitor-stag/asia-southeast1/api/v1/shops/:shopId/update-by-staff' \
--header 'Authorization: Bearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJyb2xlIjoicGF0aWVudCIsImVtYWlsIjoicGF0aWVudDRAdGVzdC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInBob25lX251bWJlciI6Iis4NDQ0NDQ0NDQ0NCIsImF1dGhfdGltZSI6MTY3NTY3ODQ0NSwidXNlcl9pZCI6InBhdGllbnQ0LXVpZCIsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsicGF0aWVudDRAdGVzdC5jb20iXSwicGhvbmUiOlsiKzg0NDQ0NDQ0NDQ0Il19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifSwiaWF0IjoxNjc1Njc4NDQ1LCJleHAiOjE2NzU2ODIwNDUsImF1ZCI6ImtpdG9yLXN0YWciLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20va2l0b3Itc3RhZyIsInN1YiI6InBhdGllbnQ0LXVpZCJ9.' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "inReview",
    "shopName": "Bún chả cá",
    "ownerName": "Nguyễn Văn Shop",
    "phoneNumber": "+84123456789",
    "shopLocation": {
        "address": "Số 207 Secret Island",
        "position": {
            "latitude": 10.2243384,
            "longitude": 103.9645628
        }
    }
}'
```

- Validators:

![](https://i.imgur.com/UsT98id.png)

- Enums:

![](https://i.imgur.com/uJprLeZ.png)

