API - Import Orders

Orders generated by merchants from their own platforms can be imported to DavidDropShip via the API. After importing orders, you need to login your account, click manage order, select unpaid orders, and pay with Store Credit.

API Import Orders

URL: https://www.daviddropship.com/index.php?route=api/v1/order_import

Format: json

Method: post

Body Form-Data:

Param Required Type Description
api_token True String api token
original_order_no False String original order_no
customer_name True String customer name
customer_telephone False String customer telephone
customer_address_state True String state, eg: CA
customer_address_city True String city
customer_address_street1 True String street1
customer_address_street2 True String street2
remark False String remark to david drop ship
customer_address_zip True String zip code
products True List products list
> product_id True int product_id
> qty True int qty

Request Example:

Return Param

Format: json

Param Required Type Description
code True int status code, 200 mean success
message False String message
data True Array data
> order_id True int order id

Example: