Skip to content

Commit

Permalink
Edit docs : Categories
Browse files Browse the repository at this point in the history
  • Loading branch information
RobyYasirAmri committed Jun 11, 2024
1 parent d1fbef7 commit eb93df2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 70 deletions.
43 changes: 0 additions & 43 deletions combined.log

This file was deleted.

14 changes: 12 additions & 2 deletions docs/Category.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,22 @@ Response Body Error jika masih ada product:
<details><summary>Update Category by Id</summary>

### Endpoint : ```PATCH /api/v1/categories/:id```
Request Headers :

```
Key: Authorization
Value: Baerer <token>
```

Request Body menggunakan form-data:

> semua key berupa `Text` kecuali avatar menggunakan `File`
Request Body :

```json
{
"name_categories": "new_category_name_update"
"name_categories": "new_category_name_update",
"image": "url"
}


Expand Down
25 changes: 0 additions & 25 deletions error.log

This file was deleted.

0 comments on commit eb93df2

Please sign in to comment.