Introduction
When creating FamilyMart shipment orders (C2C), merchants could go to a FamiPort kiosk to print it, or by calling this API to do so.
Notice:
When using the Printing shipping labels function, please avoid using iframe to prevent blocking issues at convenience stores that may cause the process to fail.
API URLs
- Stage:https://logistics-stage.ecpay.com.tw/Express/PrintFAMIC2COrderInfo
- Production:https://logistics.ecpay.com.tw/Express/PrintFAMIC2COrderInfo
HTTPS Transfer Protocol
- Accept:text/html
- Content Type:application/x-www-form-urlencoded
- HTTP Method:POST
Request Parameter Description
MerchantID String(10)
Required
Provided by ECPAY
AllPayLogisticsID String(Max)
Required
Logistics order number.
- 1. Single consignment note/shipping label printing and batch printing are all supported
- 2. To batch print use a half-type comma to separate each order For example: 10011, 10012
- 3. For batch printing, the number of AllPayLogisticsID and CVSPaymentNo must be the same
Special Note:labels will batch print 2 – 4 orders onto 1 single piece of A4 paper.
CVSPaymentNo String(Max)
Required
Shipping number.
To batch print use a half-type comma to separate each order.
PlatformID String(10)
- Provided by ECPAY, this parameter is used by Platform. General merchant should set this to null.
- When used by Platform, please use the MerchantID bound with merchant account.
CheckMacValue String
Required
Checksum.
Please refer to the appendix Checksum for more information.