Hello
Looking for a really good software developer that can create a online ordering system specifically designed to make purchases of items on Amazon UK via a api
request being sent into the system.
The system whould log into amazon with a amazon username and password sent in via the api call, it would them process the order, locating the item on amazon
via a asin number or similar, matching wheter the item is still sold by amazon, offered for free shipping, has item in stock, add the item to shopping cart, proceed
to place the order. Add the supplied address details sent in via the api call and mark down the item as a gift item. Make payment with the supplied credit card
details or that already stored in my amazon account.
Once the order is complete or an error occurred along the process the system would mark this down
It would also need to calculate the price is still within range before it makes the purchase on amazon, ie within 15% of our inputed api sale_price for the item we want to purchase.
Errors could and will occur and need to be captured, examples of errors would be, invalid request, address inputed is incorrect, price is to high/low, out of stock, limited purchase amount, credit card declined, billing address refused, wrong credit card number, wrong credit card security code, invalid log in details, duplicate order and so on
orders would be sent into the system and then processed via a api request as similar to something like listed below:
we would first make a request via POST into the system with the SAMPLE REQUEST body something like this below:
---
curl [login to view URL] -d @[login to view URL]
---
When a api request is sent into the system it would return a request id simliar to that below:
---
{"order_request_id": "4f2d435063ce68e7b7h2aea45760dhfx"}
---
i would then need to be able to check the status and results of the api call, using something like this command:
---
curl [login to view URL]
---
we would need a client token for each person/user of the system to verify that the requests sent in are ok to process and valid
From sending in the SAMPLE REQUEST below we would get a response back containings information about the amazon order that was placed.
If an error occurs an error response would be displayed
SAMPLE REQUEST
curl [login to view URL] -d '{
"client_token": "public",
"retailer": "[login to view URL]",
"products": [{"product_id": "05334268654", "quantity": 1}],
"sale_price": 2900,
"shipping_address": {
"first_name": "John",
"last_name": "Doe",
"address_line1": "33 Some Avenue",
"address_line2": "",
"zip_code": "GL52 4FD",
"city": "Gloucester",
"state": "Glos",
"country": "UK",
"phone_number": "000"
},
"is_gift": true,
"gift_message": "Here's your package, John! Enjoy!",
"shipping_method": "cheapest",
"payment_method": {
"name_on_card": "Mike Chambers",
"number": "6666333377774444",
"security_code": "123",
"expiration_month": 1,
"expiration_year": 2016,
"use_gift": false
},
"billing_address": {
"first_name": "Ted",
"last_name": "Smith",
"address_line1": "98 Another Street",
"address_line2": "",
"zip_code": "GL23 6YG",
"city": "London",
"state": "London",
"country": "Uk",
"phone_number": "000"
},
"retailer_credentials": {
"email": "[login to view URL]",
"password": "myAmazonUKPassword"
},
"webhooks": {
"order_placed": "[login to view URL]",
"order_failed": "[login to view URL]",
"tracking_obtained": "[login to view URL]"
},
"client_notes": {
"our_internal_order_id": "xyz123"
}
}'