Order search should accept array of statuses

Description

Currently the search endpoint in the fulfillment service allow to set a single order status as a request parameter. A user should be able to set a several different status and the endpoint should return only orders that match one of the passed statuses.

Acceptance criteria

  • endpoint should accept an array of order statuses

  • endpoint should return a list of orders that match one of statues from the request

  • duplicates should be treated as a single status (for example ['PICKED', 'PICKED'] -> ['PICKED'])

  • UI should use a new version of endpoint instead of filtering results

Environment

None

Activity

Show:
Anna Czyrko
February 17, 2017, 9:24 AM

I can search orders by some statuses:

Anna Czyrko
February 17, 2017, 9:58 AM
Edited

On UI I notice proper request

Assignee

Sebastian Brudziński

Reporter

Łukasz Lewczyński

Labels

None

Story Points

3

Time tracking

0m

Time remaining

4h

Components

Sprint

None

Fix versions

Priority

Major
Configure