From c303c65074e5a4aa3c8ed38309ea96adbc0fd8ca Mon Sep 17 00:00:00 2001 From: priscilla Date: Tue, 15 Nov 2022 06:08:57 -0500 Subject: Update --- core/api-merchant.rst | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'core/api-merchant.rst') diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 4df7a135..1db9c6b0 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -3077,6 +3077,9 @@ Adding templates // Template ID to use. template_id: string; + // Human-readable summary for the template. + template_descripton: string; + // The price is imposed by the merchant and cannot be changed by the customer. // This parametrer is optional. amount?: Amount; @@ -3089,24 +3092,9 @@ Adding templates // Minimum age buyer must have (in years). Default is 0. minimum_age: Integer; - // Another template that complete the main one. - template_details: TemplateSeparateDetail[]; - } - .. ts:def:: TemplateSeparateDetail - - interface TemplateSeparateDetail { - - // Identifies where the store is. - address_store: Location; - - // Human-readable summary for the template. - template_descripton: string; - - } - Editing templates ----------------- @@ -3137,6 +3125,9 @@ Editing templates interface TemplatePatchDetail { + // Human-readable summary for the template. + template_descripton: string; + // The price is imposed by the merchant and cannot be changed by the customer. // This parametrer is optional. amount?: Amount; @@ -3187,7 +3178,7 @@ The `TemplatesEntry` object describes a template. It has the following structure -.. ts:def:: TemplateEntry + .. ts:def:: TemplateEntry interface TemplateEntry { @@ -3217,6 +3208,9 @@ The `TemplatesEntry` object describes a template. It has the following structure interface TemplateDetail { + // Human-readable summary for the template. + template_descripton: string; + // The price is imposed by the merchant and cannot be changed by the customer. // This parametrer is optional. amount: Amount; -- cgit v1.2.3