Skip to content

Commit

Permalink
Update customer API endpoints with authentication requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianoflorentino committed Mar 20, 2024
1 parent 97c24e0 commit 16ddc19
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ curl --location --request POST 'http://localhost:9999/authentication/token' \

### CUSTOMER

- `GET /customers`: List all customers
- `GET /customers/:id`: Show a customer
- `POST /customers`: Create a customer
- `PATCH /customers/:id`: Update a customer
- `DELETE /customers/:id`: Delete a customer
- `GET /customers`: List all customers ```authentication required```
- `GET /customers/:id`: Show a customer ```authentication required```
- `POST /customers`: Create a customer ```admin authentication required```
- `PATCH /customers/:id`: Update a customer ```authentication required```
- `DELETE /customers/:id`: Delete a customer ```authentication required```

### Customer Parameters

Expand Down

0 comments on commit 16ddc19

Please sign in to comment.