New Function #134
closed
[ADMIN/API] KRS 판매처리 (sales process) API
Added by Deca Park over 1 year ago.
Updated about 1 year ago.
Description
1.target
1) POS [API] POST /api/pos/order_product_receive (st_order.smart_order_status is updated with 'SS04' (수령완료))
- call KRS 판매처리 (sales process) API of sales type
2) [ADMIN] 스토리 오더 관리 > 주문 관리(/storeOrder) > 상세(Modify) > 저장(save)
a) if 주문 상태(smart_order_status) is updated with 'SS04' (수령완료)
- call KRS 판매처리 (sales process) API of sales type
b) if 주문 상태(smart_order_status) is updated from 'SS04' (수령완료) to 'SS11' (매장취소(환불))
- call KRS 판매처리 (sales process) API of sales cancel type
2.KRS 판매처리 (sales process) API
Files
- Status changed from New to Resolved
- Assignee changed from bryant bryant to Deca Park
[KRS API]
1.RequestBody
- "orderStat": set by {st_order.smart_order_status}
- "cancelAmt" : if [sales type], set by 0
- "itemCds"."taxType" : set by {st_product.krs_taxn_se_cd}
- Description updated (diff)
1.when call KRS API, set encode into header
- header
- Content-Type
- application/json;encode=utf-8
[KRS API]
1.target
2.header (add)
- Authorization :
"Basic{ID:PASSWORD}"
-
{ID:PASSWORD} : "223.130.172.33:krstorywayplus7788!@#" (Base64 Encode)
- Authorization : aes.AES_Encode("storyplus", {key})
- {key} : "KORstoryplus"+{current mmdd} (ex: KORstoryplus1103)
- use attached AES256Cipher.java
- Status changed from Resolved to Feedback
- Assignee changed from Deca Park to bryant bryant
- Status changed from Feedback to Resolved
- Assignee changed from bryant bryant to Deca Park
- Status changed from Resolved to Feedback
- Assignee changed from Deca Park to bryant bryant
[API] POST /api/pos/order_product_receive
1.OrderService.receiveOrderProduct()
1) when call productApiService.insertOrCancelSaleInfo(order, false);
- setSmartOrderStatus("SS04"); // 수령완료(SS04)
- currently, previous smart_order_status is transferred into API
[ADMIN]
1.StoreOrderController
1) when call productApiService.insertOrCancelSaleInfo()
- setSmartOrderStatus("SS04"); // 수령완료(SS04)
- currently, previous smart_order_status is transferred into API
- Status changed from Feedback to Resolved
- Assignee changed from bryant bryant to Deca Park
- Status changed from Resolved to Closed
Also available in: Atom
PDF