Add GTIN to TradeItem

Description

Pre-conditions:

  • Knowing the credentials of an administrator;

  • Obtaining the user's access token;

  • Obtaining the data of at least two trade items whose manufacturerOfTradeItem parameter is not blank, with the use of the GET /api/tradeItems endpoint.

Description from the ticket:
Add the field "GTIN" to the tradeitem so that we can support the storage of a GTIN. GTIN is currently up to 14 digits long, though a valid number could be less (GTIN-8, 13, ...) and could change. Additionally GTIN's currently do not support non-digit characters. GTIN pamphlet.

Acceptance Criteria

  • GTIN is optional and not required.

  • A new value object exists in reference data that encapsulates GTIN and it's validation.

  • Update JSON schema of TradeItem

  • Enforce global uniqueness of the GTIN

relates to

QAlity Plus - Test Management

Checklists

Activity

Show:
Joanna Szymańska
September 10, 2018 at 3:29 PM

Reviewed. The test case concerns API testing - moving to Dead.

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Time Assistant

Created February 9, 2018 at 12:48 PM
Updated February 8, 2023 at 1:29 PM
Resolved September 10, 2018 at 3:30 PM