nyu-devops-team / customers

The customers resource is a representation of the customer accounts of the eCommerce site
2 stars 1 forks source link

Service - Suspend Account Action #11

Closed eaglet closed 4 years ago

eaglet commented 4 years ago

As an Administrator I need A way to suspend an account So that I could stop a customer from generating new orders

Assumptions:

Acceptance Criteria:

Given - The suspend endpoint
When - We invoke `/customers/{id}/suspend`
Then - The customer with that ID should be suspended 
And - The status filed in the database should be set to disable