Skip to content

Instantly share code, notes, and snippets.

View omrcm's full-sized avatar
🏠
Working from home

Ömür UÇUM omrcm

🏠
Working from home
View GitHub Profile
@omrcm
omrcm / jet_php_api_template.php
Created September 10, 2017 10:10 — forked from dsugarman/jet_php_api_template.php
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);
**/
<?php
require __DIR__.'/vendor/autoload.php';
use \DTS\eBaySDK\Constants;
use \DTS\eBaySDK\Trading\Services;
use \DTS\eBaySDK\Trading\Types;
use \DTS\eBaySDK\Trading\Enums;
$service = new Services\TradingService(array(
'apiVersion' => '941',