Skip to content

dansmaculotte/inventoryplanner-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inventory Planner API PHP SDK

Please refer to Inventory Planner documentation for API specifications.

Documentation

Installation

You can install the package via composer:

composer require dansmaculotte/inventoryplanner-php

Usage

Purchase Order

List purchase orders

use DansMaCulotte\InventoryPlanner\PurchaseOrder;

$po = new PurchaseOrder(API_KEY, ACCOUNT_ID);
$results = $po->list();

print_r($results['purchase-orders']);

Get opened purchase orders

use DansMaCulotte\InventoryPlanner\PurchaseOrder;

$po = new PurchaseOrder(API_KEY, ACCOUNT_ID);
$results = $po->listOpened();

print_r($results['purchase-orders']);

Get purchase order by Id

use DansMaCulotte\InventoryPlanner\PurchaseOrder;

$po = new PurchaseOrder(API_KEY, ACCOUNT_ID);
$results = $po->getById('aaaaaabbbbbbccccccdddddd');

print_r($results['purchase-order']);

License

The MIT License (MIT). Please see License File for more information.

Releases

No releases published

Packages

No packages published

Languages