Skip to content

Instantly share code, notes, and snippets.

@dsugarman
dsugarman / jet_php_api_template.php
Created January 15, 2015 16:01
Jet PHP API Template
<?php
/** To use this just:
1. put in your api information at the top
2. store/retreive your API token in the specified locations
3.store your api calls
Ex: $jet->uploadFile($feed_type, $path);
$jet->processOrdersByStatus('ready');
$jet->apiPUT("/orders/".$JET_ORDER_ID."/acknowledge", $data);
**/