Project

General

Profile

New Function #137

Updated by Deca Park 11 months ago

<p>1.<strong>[API] GET /api/order</strong></p> 

 <p>&nbsp; 1) Response<br /> 
 &nbsp; &nbsp; a) <strong>payment_method_name</strong><br /> 
 &nbsp; &nbsp; &nbsp; a-1) if payment_method is NULL (payment_amount = 0)<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; -<strong> format: &quot;포인트 + 적립금 + 쿠폰&quot;</strong><br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+ if use_point &gt; 0, show &quot;포인트&quot;<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+ if use_money &gt; 0, show &quot;적립금&quot;<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+ if coupon_amount &gt; 0, show &quot;쿠폰&quot;<br /> 
 &nbsp; &nbsp; &nbsp; a-2) f payment_method is NOT NULL (payment_amount &gt; 0)<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; -<strong> format: &quot;포인트 + 적립금 + 쿠폰 + {payment_method&#39;s code name}&quot;</strong></p> 

 <p><strong>2.[API] GET /api/order_list</strong></p> 

 <p><strong>&nbsp; </strong>1) Response<br /> 
 &nbsp; &nbsp; a)&nbsp;payment_method_name<br /> 
 <strong>&nbsp; &nbsp; &nbsp; - same with&nbsp;[API] GET /api/order</strong></p> 

Back