You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a99120f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ Customer login returns a bearer token. Include it in the `Authorization` header
206
206
| PATCH |`/api/v1/restaurants/{restaurant_id}/menu-items/{menu_item_id}`|`Updates a menu item's fields. Returns 200, 404 if the item or restaurant is not found, 422 for invalid input.`|
207
207
| DELETE |`/api/v1/restaurants/{restaurant_id}/menu-items/{menu_item_id}`|`Deletes a specific menu item. Returns 204 on success, 404 if not found.`|
208
208
| POST |`/api/v1/customers`|`Registers a customer. Returns 201 (without the password), 409 if the email is already registered, 422 for invalid input.`|
209
-
| POST |`/api/v1/login`|`Authenticates a customer and returns a bearer access token. Returns 200, 401 for invalid credentials, 404 for a deactivated account, 422 for invalid input.`|
209
+
| POST |`/api/v1/login`|`Authenticates a customer and returns a bearer access token. Returns 200, 401 for invalid credentials or a deactivated account, 422 for invalid input.`|
210
210
| POST |`/api/v1/logout`|`Logs out a customer and invalidates their token`|
211
211
| GET |`/api/v1/customers/me`|`Returns the signed-in customer's info. Returns 401 if not signed in.`|
212
212
| PATCH |`/api/v1/customers/me`|`Updates the signed-in customer's name, email, telephone or delivery address. Returns 200, 401, 409 if the email is taken, 422 for invalid input.`|
0 commit comments