BuildForSDG / BuildForSDG/Team-250-Backends

[FEATURE] Could Zerohunger have enpoint for Farmers to edit products

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

A protected endpoint that allows farmers to update products to the database. The uri will be `/api/v1/products` which takes the following requests...

```

```
And returns the following response

Success
```
status: 200,
message: "product updated successfully",
data: product (object)

```

Failure

```
status: 400 || 401 || 403,
message: "failure",
error: errorMsg
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.