wellcomecollection / identity

Identity services for Wellcome Collection users
MIT License
0 stars 2 forks source link

implement a new updateBarcode method #324

Closed melanierogan closed 2 years ago

melanierogan commented 2 years ago

We need to create the patron in order to know the recordNumber (patron id), we can then set the patron's barcode as the patron id using updateBarcode.

Based on:

Helpful to know: The format of barcode with self registered patron object on sierra

{
    "id": 12345,
    "barcodes": [
        "12345"
    ]
}

related to work on https://github.com/wellcomecollection/wellcomecollection.org/issues/8071 and https://github.com/wellcomecollection/wellcomecollection.org/issues/7896