Foxorder's API contains diffrents roles. Each endpoint is restricted for one or multiple roles depending on its need.
If you would like to test these endpoints in our Swagger UI docs, you need to retrieve a JWT token first.
Here are the roles available in our API:
| Endpoint | Method | Description | FRONT | MANAGER | SHOP_OWNER | CUSTOMER |
|---|---|---|---|---|---|---|
| /api/v2/shop_modes/{id} |
GET
|
Return a shop mode |
Authorized
|
Unauthorised
|
Authorized
|
Unauthorised
|
| /api/v2/shop_modes/{id}/attach-image |
POST
|
Change image |
Unauthorised
|
Unauthorised
|
Authorized
|
Unauthorised
|
| /api/v2/shops/{id}/shop_modes |
GET
|
Return the list of shop modes of a given shop |
Authorized
|
Unauthorised
|
Authorized
|
Unauthorised
|