RapidAPI logo

Sign Up

Log In

Zinc

FREEMIUM
By maxko87
Updated 3 months ago
Commerce
1/10
Popularity Score
417ms
Latency
100%
Success Rate

Zinc API Documentation

Order anything on Amazon with one POST request.

Amazon provides APIs for just about everything -- product information, search results, and ads -- but one thing is blatantly missing: an API for placing an order. We've filled this void for them by developing the first (and only) public API for ordering on Amazon. Fill in the information about your product, shipping address, billing address, and payment information, and our system will go through the checkout process on Amazon.

We work with loyalty programs, rewards services, sweepstakes, and importers to allow them to fulfill orders without ever holding inventory. We also work with small businesses and mobile applications to create unique new shopping and checkout experiences.

If you're interested in our custom plans, email max@zinc.io for more information.

View API Details
POSTOrder
GETView Order
POSTOrder

Place an order on Amazon.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
OrderJSON_STRING
REQUIRED
Request Snippet
unirest.post("https://maxko87-zinc-v1.p.rapidapi.com/v0/order")
.header("X-RapidAPI-Host", "maxko87-zinc-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"client_token":"public","retailer":"amazon","products":[{"product_id":"0923568964","quantity":1}],"max_price":2300,"shipping_address":{"first_name":"Tim","last_name":"Beaver","address_line1":"77 Massachusetts Avenue","address_line2":"","zip_code":"02139","city":"Cambridge","state":"MA","country":"US","phone_number":"5551230101"},"is_gift":true,"gift_message":"Here's your package, Tim! Enjoy!","shipping_method":"cheapest","payment_method":{"name_on_card":"Ben Bitdiddle","number":"5555555555554444","security_code":"123","expiration_month":1,"expiration_year":2015,"use_gift":false},"billing_address":{"first_name":"William","last_name":"Rogers","address_line1":"84 Massachusetts Ave","address_line2":"","zip_code":"02139","city":"Cambridge","state":"MA","country":"US","phone_number":"5551234567"},"retailer_credentials":{"email":"[email protected]","password":"myAmazonPassword"},"webhooks":{"order_placed":"http://mywebsite.com/zinc/order_placed","order_failed":"http://mywebsite.com/zinc/order_failed","tracking_obtained":"http://mywebsite.com/zinc/tracking_obtained"},"client_notes":{"our_internal_order_id":"abc123"}})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://maxko87-zinc-v1.p.rapidapi.com/v0/order")
.header("X-RapidAPI-Host", "maxko87-zinc-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"client_token":"public","retailer":"amazon","products":[{"product_id":"0923568964","quantity":1}],"max_price":2300,"shipping_address":{"first_name":"Tim","last_name":"Beaver","address_line1":"77 Massachusetts Avenue","address_line2":"","zip_code":"02139","city":"Cambridge","state":"MA","country":"US","phone_number":"5551230101"},"is_gift":true,"gift_message":"Here's your package, Tim! Enjoy!","shipping_method":"cheapest","payment_method":{"name_on_card":"Ben Bitdiddle","number":"5555555555554444","security_code":"123","expiration_month":1,"expiration_year":2015,"use_gift":false},"billing_address":{"first_name":"William","last_name":"Rogers","address_line1":"84 Massachusetts Ave","address_line2":"","zip_code":"02139","city":"Cambridge","state":"MA","country":"US","phone_number":"5551234567"},"retailer_credentials":{"email":"[email protected]","password":"myAmazonPassword"},"webhooks":{"order_placed":"http://mywebsite.com/zinc/order_placed","order_failed":"http://mywebsite.com/zinc/order_failed","tracking_obtained":"http://mywebsite.com/zinc/tracking_obtained"},"client_notes":{"our_internal_order_id":"abc123"}})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication