Post a new order October 06 2015
POST to create an order...
/api/v2/orders
/api/v2/orders/create /api/v2/orders/create.xml
For example...
<?xml version="1.0" encoding="UTF-8"?> <order> <id>1</id> <vendor_id>1554898798</vendor_id> <first_name>Bugs</first_name> <last_name>Bunny</last_name> <email>bugs@bunny.com</email> <currency>USD</currency> <custom_1>Optional</custom_1> <custom_2>Custom</custom_2> <custom_3>Values</custom_3> <expiration_date type="datetime">2010-09-07T15:08:02+00:00</expiration_date> <download_limit type="integer">5</download_limit> <send_email>true</send_email> <order_items type="array"> <order_item> <sku>1</sku> <downloads_remaining type="integer">4</downloads_remaining> <price type="float">4.99</price> </order_item> </order_items> </order>
NOTE: price is optional and defaults to the price set in the UI if not present.send_email is optional and defaults to true if not present. expiration_date is optional and the default is the setting in Settings → General if not present. download_limit is optional and the default is the setting in Settings → General if not present.downloads_remaining is optional and serves as an override. If not present the default is whatever the order's download_limit is set to.