Introduction
When creating 7-ELEVEN shipment orders (C2C), merchants could go to an IBON 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/PrintUniMartC2COrderInfo
- Production:https://logistics.ecpay.com.tw/Express/PrintUniMartC2COrderInfo
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, CVSPaymentNo and CVSValidationNo must be the same Consignment notes/labels will batch print 2 – 4 orders onto 1 single piece of A4 paper.
CVSPaymentNo String(Max)
Required
Shipping number
- 1. For Uni-Mart, the shipping number corresponds to the “store to store shipment number” minus the last 4 digits. It can be found under merchant backend management > logistics management For example: G65445297175, the correct Uni-Mart shipping number is G6544529.
- 2. To batch print use a half-type comma to separate each order.
CVSValidationNo String(Max)
Required
Verification code
- 1. For 7-ELEVEN, this number corresponds to the last 4 digits of “store to store shipment number.” It can be found under merchant backend management > logistics management. For example: G65445297175, the correct Uni-Mart checksum number is 7175.
- 2. 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.