[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: be more generous in terms of which f
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: be more generous in terms of which fields are required when creating/updating products |
Date: |
Tue, 20 Apr 2021 15:48:13 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new a233ae3 be more generous in terms of which fields are required when
creating/updating products
a233ae3 is described below
commit a233ae3ac90572cefc62a90b31f6b23822925750
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Apr 20 15:48:01 2021 +0200
be more generous in terms of which fields are required when
creating/updating products
---
core/api-merchant.rst | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index f2a0f25..c1de77e 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1238,7 +1238,7 @@ Adding products to the inventory
description: string;
// Map from IETF BCP 47 language tags to localized descriptions.
- description_i18n: { [lang_tag: string]: string };
+ description_i18n?: { [lang_tag: string]: string };
// Unit in which the product is measured (liters, kilograms, packages,
etc.).
unit: string;
@@ -1251,10 +1251,10 @@ Adding products to the inventory
price: Amount;
// An optional base64-encoded product image.
- image: ImageDataUrl;
+ image?: ImageDataUrl;
// A list of taxes paid by the merchant for one unit of this product.
- taxes: Tax[];
+ taxes?: Tax[];
// Number of units of the product in stock in sum in total,
// including all existing sales ever. Given in product-specific
@@ -1263,7 +1263,7 @@ Adding products to the inventory
total_stock: Integer;
// Identifies where the product is in stock.
- address: Location;
+ address?: Location;
// Identifies when we expect the next restocking to happen.
next_restock?: Timestamp;
@@ -1303,7 +1303,7 @@ Adding products to the inventory
description: string;
// Map from IETF BCP 47 language tags to localized descriptions.
- description_i18n: { [lang_tag: string]: string };
+ description_i18n?: { [lang_tag: string]: string };
// Unit in which the product is measured (liters, kilograms, packages,
etc.).
unit: string;
@@ -1316,10 +1316,10 @@ Adding products to the inventory
price: Amount;
// An optional base64-encoded product image.
- image: ImageDataUrl;
+ image?: ImageDataUrl;
// A list of taxes paid by the merchant for one unit of this product.
- taxes: Tax[];
+ taxes?: Tax[];
// Number of units of the product in stock in sum in total,
// including all existing sales ever. Given in product-specific
@@ -1328,10 +1328,10 @@ Adding products to the inventory
total_stock: Integer;
// Number of units of the product that were lost (spoiled, stolen, etc.).
- total_lost: Integer;
+ total_lost?: Integer;
// Identifies where the product is in stock.
- address: Location;
+ address?: Location;
// Identifies when we expect the next restocking to happen.
next_restock?: Timestamp;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: be more generous in terms of which fields are required when creating/updating products,
gnunet <=