Project

General

Profile

Actions

New Function #137

closed

[API] 주문(order)

Added by Deca Park 11 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
10/30/2023
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

1.[API] GET /api/order

  1) Response
    a) payment_method_name
      a-1) if payment_method is NULL (payment_amount = 0)
        - format: "포인트 + 적립금 + 쿠폰"
         + if use_point > 0, show "포인트"
         + if use_money > 0, show "적립금"
         + if coupon_amount > 0, show "쿠폰"
      a-2) f payment_method is NOT NULL (payment_amount > 0)
        - format: "포인트 + 적립금 + 쿠폰 + {payment_method's code name}"

      a-1) use_point  / use_money / coupon_amount
          if use_point > 0, append "포인트" with " + "
          if use_money > 0, append "적립금" with " + "
          if coupon_amount > 0, append "쿠폰" with " + "

      a-2) if payment_method is NOT NULL (payment_amount > 0)
        - append {payment_method's code name} with " + "

     b) add 3 fields next to mall_name field (refer to #32 : API-20231030)
       - mall_biz_no / mall_ceo / mall_address : set by st_mall columns

2.[API] GET /api/order_list

  1) Response
    a) payment_method_name
      - same with [API] GET /api/order

    b) add 3 fields next to mall_name field
      - same with [API] GET /api/order

Actions

Also available in: Atom PDF