GoodsReceipt

APIDescription
POST v1/GoodsReceipt/{id}/Confirm

Confirms a shipment

PackList

APIDescription
POST v1/PackList/{id}/Confirm

Confirms a shipment

POST v1/PackList/NotifyWarehouse?warehouseId={warehouseId}&warehouseCode={warehouseCode}

Notify warehouse - this endpoint finds all 'Pending' packlists (shipments) associated with the given warehouse, changes their status to 'Awaiting-Pack', includes them in a CSV file and then emails this CSV file to the supplier associated with the warehouse. This is the same functionality as found on the Shipments screen in the wbe application when clicking the Notify Warehouse button.

POST v1/PackList/{id}/Update

Updates a shipment

Photo

APIDescription
POST v1/Photo/{id}

This method uploads a photo to be used for product listings.

Product

These methods allow you to create, retrieve and update products.

APIDescription
GET v1/Product?pageNumber={pageNumber}&pageSize={pageSize}&code={code}&name={name}&alternateCode={alternateCode}&barcode={barcode}&isArchived={isArchived}&quantityInStockMin={quantityInStockMin}&quantityInStockMax={quantityInStockMax}&includeSupplierDetails={includeSupplierDetails}

This method gets a paged list of top level product information, including summary inventory quantities.

GET v1/Product/{id}

This method gets an individual product specified by the supplied ID - the output consists of top level product information, including summary inventory quantities.

POST v1/Product/{id}

This method saves an individual product supplied - the output consists of top level updated product information, including summary inventory quantities.

ProductInventory

APIDescription
POST v1/ProductInventory/{id}/MakeAdjustment

This allows you to increase or decrease Stock on Hand (SOH) quantities for a particular product with a specified type (e.g. stocktake, breakage, obsolete etc.)

POST v1/ProductInventory/MakeAdjustment

This allows you to increase or decrease Stock on Hand (SOH) quantities for a particular product with a specified type (e.g. stocktake, breakage, obsolete etc.) using the ProductCode on the body as the lookup (instead of needing the internal product ID in the URL)

PurchaseOrder

APIDescription
POST v1/PurchaseOrder/Autoreorder?linesPerOrder={linesPerOrder}&deleteSystemDraft={deleteSystemDraft}&deleteAllDraft={deleteAllDraft}&supplierID={supplierID}&labelID={labelID}&noSupplierOptions={noSupplierOptions}

This method finds a list of all products whose stock-on-hand SOH has fallen below the reorder point (MinimumStockQuantity) and creates draft purchase orders grouped by supplier. The user can then inspect each order and confirms if correct. Products without a supplier will be grouped onto one PO at the end - the user can then supply the extra information needed (supplier/price) before confirming.

POST v1/PurchaseOrder/{id}/Confirm

This method confirms a purchase order in Draft status and takes it to Awaiting Receipt status. Also creates necessary pending goods receipts.

GET v1/PurchaseOrder?pageNumber={pageNumber}&pageSize={pageSize}&status={status}&createdFrom={createdFrom}&createdTo={createdTo}&modifiedFrom={modifiedFrom}&modifiedTo={modifiedTo}&orderNumber={orderNumber}

This method gets a paged list of purchase orders including supplier, address and purchase order line data as well as goods receipts associated with each order

GET v1/PurchaseOrder/{id}

This method gets a purchase order including supplier, address and purchase order line data as well as goods-receipts associated with it

POST v1/PurchaseOrder/{id}

This method creates or updates a purchase order in Draft status

SalesOrder

APIDescription
GET v1/SalesOrder?pageNumber={pageNumber}&pageSize={pageSize}&status={status}&createdFrom={createdFrom}&createdTo={createdTo}&modifiedFrom={modifiedFrom}&modifiedTo={modifiedTo}&orderNumber={orderNumber}

This method gets a paged list of sales orders including customer, address and sales order line data as well as shipments associated with each order

GET v1/SalesOrder/{id}

This method gets a sales order including customer, address and sales order line data as well as shipments associated with it

POST v1/SalesOrder/{id}/MakeOrderEditable

This method moves the sales order from Awaiting-Shipment back into Pending status (if possible), deleting any pack-lists in the process. This can only be done if nothing has been shipped yet (i.e. no completed pack-lists)

POST v1/SalesOrder/{id}

No documentation available.

ShopifyProduct

APIDescription
GET v1/ShopifyProduct?pageNumber={pageNumber}&pageSize={pageSize}&shopifyDomainName={shopifyDomainName}&productCode={productCode}&handle={handle}

This method gets a paged list of top level Shopify product information

GET v1/ShopifyProduct/{id}

This method gets an individual Shopify product specified by the supplied ID

POST v1/ShopifyProduct/{id}

This method saves an individual Shopify product

TradeMeListingRule