Project

General

Profile

New Function #71

Updated by Deca Park about 1 year ago

<p><strong>[API] POST /api/online_order,&nbsp;POST /api/store_order</strong></p> 

 <p>1.Spec</p> 

 <ul> 
	 <li>Order sheet of <strong>#32 (20230708)</strong></li> 
 </ul> 

 <p>2.RequestBody<br /> 
 &nbsp; 1) product_code_list / order_count_list : <strong>REMOVE</strong><br /> 
 &nbsp; 2) <strong>order_products (array) (NEW)</strong><br /> 
 &nbsp; &nbsp; &nbsp; &nbsp;- product_code<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp;- price<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp;- discount_amount<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp;- sale_price<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp;- order_count</p> 

 <p>3.Process<br /> 
 &nbsp; 1) INSERT st_order_product<br /> 
 &nbsp; &nbsp; a) <strong>prodcut_code /&nbsp;price <strong>price / discount_amount / sale_price (NEW column)</strong><br /> 
 &nbsp; &nbsp; &nbsp; - set by order_products of RequestBody</p> 

Back