View Issue Details

IDProjectCategoryView StatusLast Update
0009511Talermechant backendpublic2025-02-06 20:50
Reportersvirv1 Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status confirmedResolutionopen 
Target Versionpost-1.0 
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

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-02-06 13:07 svirv1 New Issue
2025-02-06 13:07 svirv1 Status new => assigned
2025-02-06 13:07 svirv1 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