Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PATCH profile/customer #25

Closed
3 tasks done
LinaYahya opened this issue Jun 17, 2020 · 0 comments
Closed
3 tasks done

PATCH profile/customer #25

LinaYahya opened this issue Jun 17, 2020 · 0 comments
Assignees

Comments

@LinaYahya
Copy link
Collaborator

Relates #2

Route: PATCH api/v1/user/:id

Acceptance Criteria
  • Request
  • Response
  • Testing

Request body

 req.body =  {
      socialMediaAccounts,
      profileImg,
      budget,
      bio,
      mobileNo,
  }

Validation

{
 budget: yup.number().round(),
}

Response

  • Success
{ statusCode:200 ,data : { }  }

Testing

to be a successful test

  • status === 200
@mariamisa mariamisa changed the title PATCH /user/:id PATCH /user Jun 24, 2020
@mariamisa mariamisa changed the title PATCH /user PATCH profile/user Jun 24, 2020
@mariamisa mariamisa changed the title PATCH profile/user PATCH profile/customer Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants