Hi there I'm looking for this exact same project to be done:
We need to have the chinavasion API intergraded into our wordpress website. It will need to use the API http get/post request. We apply JSON as the data collection format for communication through API using HTTP POST method. Each Request (Input) has to be formatted in JSON in a predefined manner before posting it to a dedicated URL. The resulting Response (Output) will also be displayed in a predefined format. The definition of Request and Response JSON format is defined precisely in the help of each API call.
We would like it in php if possible, Their site has info on how two do so. Here and Here
There are two types of API requests: queries and actions. Query requests return data to customer, but will not modify anything in the Chinavasion system. In contrast, action requests do perform updates in the system and return data as the result of the action.
getCategory - This call will return a list of product categories, including both top-level categories and all subcategories. There is also an option to include additional detailed content if required.
getProductList - This call will return a list of products based on specified category name(s). The returned result includes product IDs, model codes, product names, product URLs, pictures and other product related details. Category names can be retrieved by the query call 'getCategory' above.
getProductDetails - This call will return a single product's details based on the specified product ID or model code. There is an option to show the price in a specified currency.
getAddress - This call will return a list of addresses which are stored in the address book of your Chinavasion Account.
getOrderList - This call will return a list of order with details. The returned result includes order ID, order status, shipping information, order amount, address and order product details. There is a pagination to define the size of the result set by the specified start order ID and number of orders to be returned.
getOrderDetails - This call will return a single order with details. The returned result includes order ID, order status, shipping information, order amount, address and order product details. Input parameters specify the which order details are requested.
getCreditBalance - This call will return the current credit balance on customer account; the result will be a list of amount in different currencies.
getPrice - This call will return a set of product prices with list of different shipping options based on the specified products with quantity, currency, socket and country. The returned shipping options include shipping method, shipping price and estimated delivery days.
createAddress - This call will create and store new address entry in the address book in your Chinavasion Account.
createOrder - This call will create new order, which will be automatically paid by balance credit if there is enough. Other payment methods are also accepted but have to be processed manually. Available shipping methods can be retrieved by another query call - getPrice. Either product ID or model code is accepted for order details with required quantity. This is also an option to leave comment or special request note.
We need the API to update all our products on a normal basis and be able to call actions to place orders automatic with their system.
We also have more instructions from them with our login to the site. it explain each item above.
we will supply key to use for api auth