iMerchant Sandbox: https://sandbox.imerchant.online/

iMerchant Production: https://dashboard.imerchant.online/

Upload the package scheduled shipping date and the expected deliver date. Merchant uploads these information to provide user a good expectation in shipment.

Request Body

order_id string required

It is a string of number to uniquely distribute the id to a specific order, which the id is created by iMerchant

promise_transit_time Int required

After the transaction is successful, merchants need to response the number of days that the package to be shipped. The data is required to be post in integer number

promise_delivery_time Int required

Merchants need to repsponse the number of days that the package to be delivered once the package is in transit. The data is required to be post in integer number

item_type Int required

It represents how merchant sells the order. There are two types for this field:

  1. Fullfillment by merchant: Merchants do not have spot inventory. They need drop shipper to purchase the goods in customer’s order
  2. Fullfillment by us: Merchants have spot inventory.

bid string required

bid is the account number generated by iMerchant for the merchant. It is a string

of 32 bits long to uniquely identify the merchant generated by the system. It comes

after the URL as a parameter url?bid=xxxxxx to visit the payment page

sign string required

Digital signature

Response Fields

result string

“1“ represents success. “0“ represents fail

error string

Your request has invalid parameters

example:

item_type error
order_id invalid
The latest commitment time has been exceeded, no more uploads are allowed.
The transcation have promised over 3 times.

error string

example:

params_error
Invalid params
bid_error
Language