@@ -, +, @@ --- Koha/Item.pm | 2 +- api/v1/swagger/definitions/item.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) --- a/Koha/Item.pm +++ a/Koha/Item.pm @@ -1770,7 +1770,7 @@ sub to_api_mapping { replacementpricedate => 'replacement_price_date', datelastborrowed => 'last_checkout_date', datelastseen => 'last_seen_date', - stack => undef, + stack => 'stack', notforloan => 'not_for_loan_status', damaged => 'damaged_status', damaged_on => 'damaged_date', --- a/api/v1/swagger/definitions/item.yaml +++ a/api/v1/swagger/definitions/item.yaml @@ -184,6 +184,11 @@ properties: - string - "null" description: Materials specified + stack: + type: + - number + - "null" + description: Shelving control number uri: type: - string --