View Issue Details

IDProjectCategoryView StatusLast Update
0009511Talermerchant backoffice SPApublic2025-07-04 00:12
Reportervlada.svirsh Assigned Tosebasjm  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status assignedResolutionopen 
Target Version1.3 
Summary0009511: Add product_name field
Descriptionnow it look like this:
interface ProductAddDetail {

  // Product ID to use.
  product_id: string;

  // Human-readable product description.
  description: string;

  // Map from IETF BCP 47 language tags to localized descriptions.
  description_i18n?: { [lang_tag: string]: string };

  // Categories into which the product belongs.
  // Used in the POS-endpoint.
  // Since API version **v16**.
  categories?: Integer[];

  // Unit in which the product is measured (liters, kilograms, packages, etc.).
  unit: string;

  // The price for one unit of the product. Zero is used
  // to imply that this product is not sold separately, or
  // that the price is not fixed, and must be supplied by the
  // front-end. If non-zero, this price MUST include applicable
  // taxes.
  price: Amount;

  // An optional base64-encoded product image.
  image?: ImageDataUrl;

  // A list of taxes paid by the merchant for one unit of this product.
  taxes?: Tax[];

  // Number of units of the product in stock in sum in total,
  // including all existing sales ever. Given in product-specific
  // units.
  // A value of -1 indicates "infinite" (i.e. for "electronic" books).
  total_stock: Integer;

  // Identifies where the product is in stock.
  address?: Location;

  // Identifies when we expect the next restocking to happen.
  next_restock?: Timestamp;

  // Minimum age buyer must have (in years). Default is 0.
  minimum_age?: Integer;

}





but also important to have product_name field, to have possibility to write in description product specifications and not name, as now.
TagsNo tags attached.

Activities

Christian Grothoff

2025-07-04 00:11

manager   ~0025411

merchant.git 0655c239..163e9225 adds product_name to the inventory (see also d0e18a5e..e8ce884d in taler-docs.git).
Currently optional, the field SHOULD be treated as mandatory by the SPA in the near future.

@sebastian: please add the field in the GET/POST/PATCH requests of the inventory.

After that, we probably should update the PoS app to use the product_name.

Issue History

Date Modified Username Field Change
2025-02-06 13:07 vlada.svirsh New Issue
2025-02-06 13:07 vlada.svirsh Status new => assigned
2025-02-06 13:07 vlada.svirsh Assigned To => Christian Grothoff
2025-02-06 20:50 Christian Grothoff Assigned To Christian Grothoff =>
2025-02-06 20:50 Christian Grothoff Severity minor => feature
2025-02-06 20:50 Christian Grothoff Status assigned => confirmed
2025-02-06 20:50 Christian Grothoff Target Version => post-1.0
2025-03-22 14:09 Christian Grothoff Category mechant backend => merchant backend
2025-04-17 22:48 Christian Grothoff Target Version post-1.0 => 1.4
2025-04-17 22:58 Christian Grothoff Target Version 1.4 => 1.3
2025-07-03 15:17 Christian Grothoff Assigned To => Christian Grothoff
2025-07-03 15:17 Christian Grothoff Status confirmed => assigned
2025-07-04 00:11 Christian Grothoff Note Added: 0025411
2025-07-04 00:11 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2025-07-04 00:12 Christian Grothoff Category merchant backend => merchant backoffice SPA