Unleashed

App · 25 actions

Manage Unleashed customers, products and sales orders, and read purchase orders, suppliers and stock on hand.

Actions

ActionWhat it does
Add a sales order lineAdd a product line to an existing sales order.
Complete a purchase orderComplete a purchase order, receiving its stock into the warehouse.
Complete a sales orderComplete a sales order, taking its stock out of the warehouse.
Create a customerCreate a customer with a primary contact.
Create a productCreate a product.
Create a sales orderCreate a sales order with one line.
Delete a sales orderDelete a sales order.
Get a customerGet one customer's details.
Get a productGet one product's details and prices.
Get a product's stock on handGet one product's stock in each warehouse.
Get a purchase orderGet one purchase order with its lines.
Get a sales orderGet one sales order with its lines.
Get a supplierGet one supplier's details.
List currenciesList the currencies set up in Unleashed.
List customersList customers, a page at a time.
List productsList products, a page at a time.
List purchase ordersList purchase orders, a page at a time.
List sales ordersList sales orders, most recently changed first.
List stock on handList stock on hand, available and allocated quantities and costs by product.
List suppliersList suppliers, a page at a time.
List taxesList the taxes set up in Unleashed, with their codes and rates.
List warehousesList your warehouses.
Make a product obsoleteMark a product obsolete so it no longer appears on new orders.
Update a customerChange a customer's details.
Update a productChange a product's details.

Add a sales order line

Add a product line to an existing sales order.

Inputs

Order guidorder_guidtextRequired
The sales order to add the line to.
Product codeproduct_codetextRequired
The product being sold.
QuantityquantitynumberRequired
How many are being sold.At least 0.
Unit priceunit_pricenumber
The price of one unit, before tax.At least 0.
Discount ratediscount_ratenumber
A discount as a fraction, such as 0.1 for 10%.From 0 to 1.
Commentscommentstext
Comments on the line.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {}
}

Complete a purchase order

Complete a purchase order, receiving its stock into the warehouse.

Inputs

Order guidorder_guidtextRequired
The purchase order to complete.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "BCSubTotal": 1.0,
    "BCTaxTotal": 1.0,
    "BCTotal": 1.0,
    "Comments": "example",
    "CompletedDate": "example",
    "CreatedBy": "example",
    "CreatedOn": "example",
    "Currency": {
      "CurrencyCode": "example",
      "DefaultBuyRate": 1.0,
      "DefaultSellRate": 1.0,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomOrderStatus": "example",
    "DeliveryCity": "example",
    "DeliveryCountry": "example",
    "DeliveryDate": "example",
    "DeliveryName": "example",
    "DeliveryPostCode": "example",
    "DeliveryRegion": "example",
    "DeliveryStreetAddress": "example",
    "DeliveryStreetAddress2": "example",
    "DeliverySuburb": "example",
    "DiscountRate": 1.0,
    "ExchangeRate": 1.0,
    "Guid": "example",
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "OrderDate": "example",
    "OrderNumber": "example",
    "OrderStatus": "example",
    "Printed": false,
    "PurchaseOrderLines": [],
    "ReceivedDate": "example",
    "SalesOrders": [],
    "SubTotal": 1.0,
    "Supplier": {
      "Guid": "example",
      "SupplierCode": "example",
      "SupplierName": "example"
    },
    "SupplierEORI": "example",
    "SupplierInvoiceDate": "example",
    "SupplierRef": "example",
    "Tax": {
      "CanApplyToExpenses": false,
      "CanApplyToRevenue": false,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false,
      "TaxCode": "example",
      "TaxRate": 1.0
    },
    "TaxCode": "example",
    "TaxRate": 1.0,
    "TaxTotal": 1.0,
    "Total": 1.0,
    "TotalVolume": 1.0,
    "TotalWeight": 1.0,
    "Warehouse": {
      "AddressLine1": "example",
      "AddressLine2": "example",
      "City": "example",
      "ContactName": "example",
      "Country": "example",
      "DDINumber": "example",
      "FaxNumber": "example",
      "Guid": "example",
      "IsDefault": false,
      "LastModifiedOn": "example",
      "MobileNumber": "example",
      "Obsolete": false,
      "PhoneNumber": "example",
      "PostCode": "example",
      "Region": "example",
      "StreetNo": "example",
      "Suburb": "example",
      "WarehouseCode": "example",
      "WarehouseName": "example"
    }
  }
}

Complete a sales order

Complete a sales order, taking its stock out of the warehouse.

Inputs

Order guidorder_guidtextRequired
The sales order to complete.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "BCSubTotal": 1.0,
    "BCTaxTotal": 1.0,
    "BCTotal": 1.0,
    "Comments": "example",
    "CompletedDate": "example",
    "CreatedBy": "example",
    "CreatedOn": "example",
    "Currency": {
      "CurrencyCode": "example",
      "DefaultBuyRate": 1.0,
      "DefaultSellRate": 1.0,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomOrderStatus": "example",
    "Customer": {
      "CurrencyId": 1,
      "CustomerCode": "example",
      "CustomerName": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomerRef": "example",
    "DeliveryCity": "example",
    "DeliveryContact": {
      "EmailAddress": "example",
      "FirstName": "example",
      "Guid": "example",
      "LastName": "example",
      "MobilePhone": "example",
      "OfficePhone": "example",
      "PhoneNumber": "example",
      "UseDefaultDeliveryAddress": false
    },
    "DeliveryCountry": "example",
    "DeliveryInstruction": "example",
    "DeliveryMethod": "example",
    "DeliveryName": "example",
    "DeliveryPostCode": "example",
    "DeliveryRegion": "example",
    "DeliveryStreetAddress": "example",
    "DeliveryStreetAddress2": "example",
    "DeliverySuburb": "example",
    "DiscountRate": 1.0,
    "ExchangeRate": 1.0,
    "Guid": "example",
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "OrderDate": "example",
    "OrderNumber": "example",
    "OrderStatus": "example",
    "PaymentDueDate": "example",
    "ReceivedDate": "example",
    "RequiredDate": "example",
    "SalesAccount": "example",
    "SalesOrderGroup": "example",
    "SalesOrderLines": [],
    "Salesperson": {
      "Email": "example",
      "FullName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false
    },
    "SourceId": "example",
    "SubTotal": 1.0,
    "Tax": {
      "CanApplyToExpenses": false,
      "CanApplyToRevenue": false,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false,
      "TaxCode": "example",
      "TaxRate": 1.0
    },
    "TaxRate": 1.0,
    "TaxTotal": 1.0,
    "Total": 1.0,
    "TotalVolume": 1.0,
    "TotalWeight": 1.0,
    "Warehouse": {
      "AddressLine1": "example",
      "AddressLine2": "example",
      "City": "example",
      "ContactName": "example",
      "Country": "example",
      "DDINumber": "example",
      "FaxNumber": "example",
      "Guid": "example",
      "IsDefault": false,
      "LastModifiedOn": "example",
      "MobileNumber": "example",
      "Obsolete": false,
      "PhoneNumber": "example",
      "PostCode": "example",
      "Region": "example",
      "StreetNo": "example",
      "Suburb": "example",
      "WarehouseCode": "example",
      "WarehouseName": "example"
    },
    "XeroTaxCode": "example"
  }
}

Create a customer

Create a customer with a primary contact.

Inputs

Customer codecustomer_codetextRequired
A unique code for the customer. It can't be changed later.
Customer namecustomer_nametextRequired
The customer's name.
Contact first namecontact_first_nametext
The primary contact's first name.
Contact last namecontact_last_nametext
The primary contact's last name.
Emailemailtext
The primary contact's email address.
Phone numberphone_numbertext
The primary contact's phone number. Needs the contact's name or email.
Mobile numbermobile_numbertext
The primary contact's mobile number. Needs the contact's name or email.
Websitewebsitetext
The customer's website. Needs the contact's name or email.
Currency codecurrency_codetext
The customer's currency, such as NZD. Leave blank for your company's base currency.
Customer typecustomer_typetext
The customer type, as set up in Unleashed.
Payment termpayment_termtext
The payment term, as set up in Unleashed.
Notesnotestext
Notes about the customer.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Addresses": [],
    "BankAccount": "example",
    "BankBranch": "example",
    "BankName": "example",
    "ContactFirstName": "example",
    "ContactLastName": "example",
    "Contacts": [],
    "CreatedBy": "example",
    "CreatedOn": "example",
    "CreditLimit": 1.0,
    "Currency": {
      "CurrencyCode": "example",
      "DefaultBuyRate": 1.0,
      "DefaultSellRate": 1.0,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomerCode": "example",
    "CustomerName": "example",
    "CustomerType": "example",
    "CustomerTypeGuid": "example",
    "DDINumber": "example",
    "DefaultWarehouse": {
      "Guid": "example",
      "WarehouseCode": "example",
      "WarehouseName": "example"
    },
    "DeliveryInstruction": "example",
    "DeliveryMethod": "example",
    "DiscountRate": 1.0,
    "EORINumber": "example",
    "Email": "example",
    "EmailCC": "example",
    "FaxNumber": "example",
    "GSTVATNumber": "example",
    "Guid": "example",
    "HasCreditLimit": false,
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "MobileNumber": "example",
    "Notes": "example",
    "Obsolete": false,
    "PaymentTerm": "example",
    "PhoneNumber": "example",
    "PrintInvoice": false,
    "PrintPackingSlipInsteadOfInvoice": false,
    "Reminder": "example",
    "SalesOrderGroup": "example",
    "Salesperson": {
      "Email": "example",
      "FullName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false
    },
    "SellPriceTier": "example",
    "SellPriceTierReference": {},
    "StopCredit": false,
    "TaxCode": "example",
    "TaxRate": 1.0,
    "Taxable": false,
    "TollFreeNumber": "example",
    "Website": "example",
    "XeroCostOfGoodsAccount": "example",
    "XeroSalesAccount": "example"
  }
}

Create a product

Create a product.

Inputs

Product codeproduct_codetextRequired
A unique code for the product.
Product descriptionproduct_descriptiontextRequired
The product's name or description.
Default sell pricedefault_sell_pricenumber
The usual selling price of one unit.At least 0.
Default purchase pricedefault_purchase_pricenumber
The usual buying price of one unit.At least 0.
Barcodebarcodetext
The product's barcode.
Min stock alert levelmin_stock_alert_levelnumber
Warn when stock falls below this level.At least 0.
Max stock alert levelmax_stock_alert_levelnumber
Warn when stock rises above this level.At least 0.
Is sellableis_sellabletrue/false
Whether the product can go on sales orders. Defaults to yes.
Is purchasableis_purchasabletrue/false
Whether the product can go on purchase orders. Defaults to yes.
Notesnotestext
Notes about the product.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "AlternateUnitsOfMeasure": [],
    "AutomaticChargeCost": 1.0,
    "AverageLandPrice": 1.0,
    "Barcode": "example",
    "BinLocation": "example",
    "Comments": "example",
    "CommerceCode": "example",
    "CopyCommentsForPurchases": false,
    "CopyCommentsForSales": false,
    "CreatedBy": "example",
    "CreatedOn": "example",
    "CustomerSellPrice": 1.0,
    "CustomsDescription": "example",
    "DefaultPurchasePrice": 1.0,
    "DefaultPurchasesUnitOfMeasure": {
      "Guid": "example",
      "Name": "example",
      "Obsolete": false
    },
    "DefaultSellPrice": 1.0,
    "Depth": 1.0,
    "Guid": "example",
    "Height": 1.0,
    "ICCCountryCode": "example",
    "ICCCountryName": "example",
    "ImageUrl": "example",
    "Images": [],
    "InventoryDetails": [],
    "IsAssembledProduct": false,
    "IsBatchTracked": false,
    "IsComponent": false,
    "IsPurchasable": false,
    "IsSellable": false,
    "IsSerialized": false,
    "LastCost": 1.0,
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "MaxStockAlertLevel": 1.0,
    "MinStockAlertLevel": 1.0,
    "MinimumOrderQuantity": 1.0,
    "MinimumSaleQuantity": 1.0,
    "MinimumSellPrice": 1.0,
    "NeverDiminishing": false,
    "NominalCost": 1.0,
    "Notes": "example",
    "Obsolete": false,
    "PackSize": 1.0,
    "ProductBrand": {
      "BrandName": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "ProductCode": "example",
    "ProductDescription": "example",
    "ProductGroup": {
      "GroupName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "ParentGroupGuid": "example"
    },
    "ProductSubGroup": {
      "GroupName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "ParentGroupGuid": "example"
    },
    "PurchaseAccount": "example",
    "Reminder": "example",
    "SellPriceTier1": {},
    "SellPriceTier10": {},
    "SellPriceTier2": {},
    "SellPriceTier3": {},
    "SellPriceTier4": {},
    "SellPriceTier5": {},
    "SellPriceTier6": {},
    "SellPriceTier7": {},
    "SellPriceTier8": {},
    "SellPriceTier9": {},
    "SourceId": "example",
    "SourceVariantParentId": "example",
    "SupplementaryClassificationAbbreviation": "example",
    "Supplier": {
      "Guid": "example",
      "LeadTimeDays": 1,
      "MinimumOrderQuantity": 1.0,
      "SupplierCode": "example",
      "SupplierName": "example",
      "SupplierProductCode": "example",
      "SupplierProductDescription": "example",
      "SupplierProductPrice": 1.0,
      "UnitOfMeasure": {
        "Guid": "example",
        "Name": "example",
        "Obsolete": false
      }
    },
    "TaxablePurchase": false,
    "TaxableSales": false,
    "UnitOfMeasure": {
      "Guid": "example",
      "Name": "example",
      "Obsolete": false
    },
    "Weight": 1.0,
    "Width": 1.0,
    "XeroCostOfGoodsAccount": "example",
    "XeroSalesAccount": "example",
    "XeroSalesTaxCode": "example",
    "XeroSalesTaxRate": 1.0,
    "XeroTaxCode": "example",
    "XeroTaxRate": 1.0
  }
}

Create a sales order

Create a sales order with one line. Unleashed's line, tax and order totals are worked out for you.

Inputs

Customer codecustomer_codetextRequired
The customer the order is for.
Product codeproduct_codetextRequired
The product being sold.
QuantityquantitynumberRequired
How many are being sold.At least 0.
Unit priceunit_pricenumberRequired
The price of one unit, before tax.At least 0.
Tax codetax_codetextRequired
The tax to apply, as set up in Unleashed.
Tax ratetax_ratenumber
The tax rate as a fraction, such as 0.15 for 15%. Leave blank to use the chosen tax's rate.From 0 to 1.
Warehouse codewarehouse_codetextRequired
The warehouse the order ships from.
Currency codecurrency_codetextRequired
The order's currency. It must match the customer's currency.
Exchange rateexchange_ratenumber
The exchange rate to your base currency. Defaults to 1.At least 0.
Order statusorder_statustext
Parked to save the order, or Completed to complete it straight away. Defaults to Parked.One of: Parked, Completed.
Order numberorder_numbertext
The order number. Leave blank to have Unleashed number it.
Order dateorder_datedate
The order's date. Defaults to today.
Required daterequired_datedate
When the customer needs the order.
Customer refcustomer_reftext
The customer's own reference for the order.
Commentscommentstext
Comments on the order.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "BCSubTotal": 1.0,
    "BCTaxTotal": 1.0,
    "BCTotal": 1.0,
    "Comments": "example",
    "CompletedDate": "example",
    "CreatedBy": "example",
    "CreatedOn": "example",
    "Currency": {
      "CurrencyCode": "example",
      "DefaultBuyRate": 1.0,
      "DefaultSellRate": 1.0,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomOrderStatus": "example",
    "Customer": {
      "CurrencyId": 1,
      "CustomerCode": "example",
      "CustomerName": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomerRef": "example",
    "DeliveryCity": "example",
    "DeliveryContact": {
      "EmailAddress": "example",
      "FirstName": "example",
      "Guid": "example",
      "LastName": "example",
      "MobilePhone": "example",
      "OfficePhone": "example",
      "PhoneNumber": "example",
      "UseDefaultDeliveryAddress": false
    },
    "DeliveryCountry": "example",
    "DeliveryInstruction": "example",
    "DeliveryMethod": "example",
    "DeliveryName": "example",
    "DeliveryPostCode": "example",
    "DeliveryRegion": "example",
    "DeliveryStreetAddress": "example",
    "DeliveryStreetAddress2": "example",
    "DeliverySuburb": "example",
    "DiscountRate": 1.0,
    "ExchangeRate": 1.0,
    "Guid": "example",
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "OrderDate": "example",
    "OrderNumber": "example",
    "OrderStatus": "example",
    "PaymentDueDate": "example",
    "ReceivedDate": "example",
    "RequiredDate": "example",
    "SalesAccount": "example",
    "SalesOrderGroup": "example",
    "SalesOrderLines": [],
    "Salesperson": {
      "Email": "example",
      "FullName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false
    },
    "SourceId": "example",
    "SubTotal": 1.0,
    "Tax": {
      "CanApplyToExpenses": false,
      "CanApplyToRevenue": false,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false,
      "TaxCode": "example",
      "TaxRate": 1.0
    },
    "TaxRate": 1.0,
    "TaxTotal": 1.0,
    "Total": 1.0,
    "TotalVolume": 1.0,
    "TotalWeight": 1.0,
    "Warehouse": {
      "AddressLine1": "example",
      "AddressLine2": "example",
      "City": "example",
      "ContactName": "example",
      "Country": "example",
      "DDINumber": "example",
      "FaxNumber": "example",
      "Guid": "example",
      "IsDefault": false,
      "LastModifiedOn": "example",
      "MobileNumber": "example",
      "Obsolete": false,
      "PhoneNumber": "example",
      "PostCode": "example",
      "Region": "example",
      "StreetNo": "example",
      "Suburb": "example",
      "WarehouseCode": "example",
      "WarehouseName": "example"
    },
    "XeroTaxCode": "example"
  }
}

Delete a sales order

Delete a sales order.

Inputs

Order guidorder_guidtextRequired
The sales order to delete.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {}
}

Get a customer

Get one customer's details.

Inputs

Customer guidcustomer_guidtextRequired
The customer to get.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Addresses": [],
    "BankAccount": "example",
    "BankBranch": "example",
    "BankName": "example",
    "ContactFirstName": "example",
    "ContactLastName": "example",
    "Contacts": [],
    "CreatedBy": "example",
    "CreatedOn": "example",
    "CreditLimit": 1.0,
    "Currency": {
      "CurrencyCode": "example",
      "DefaultBuyRate": 1.0,
      "DefaultSellRate": 1.0,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomerCode": "example",
    "CustomerName": "example",
    "CustomerType": "example",
    "CustomerTypeGuid": "example",
    "DDINumber": "example",
    "DefaultWarehouse": {
      "Guid": "example",
      "WarehouseCode": "example",
      "WarehouseName": "example"
    },
    "DeliveryInstruction": "example",
    "DeliveryMethod": "example",
    "DiscountRate": 1.0,
    "EORINumber": "example",
    "Email": "example",
    "EmailCC": "example",
    "FaxNumber": "example",
    "GSTVATNumber": "example",
    "Guid": "example",
    "HasCreditLimit": false,
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "MobileNumber": "example",
    "Notes": "example",
    "Obsolete": false,
    "PaymentTerm": "example",
    "PhoneNumber": "example",
    "PrintInvoice": false,
    "PrintPackingSlipInsteadOfInvoice": false,
    "Reminder": "example",
    "SalesOrderGroup": "example",
    "Salesperson": {
      "Email": "example",
      "FullName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false
    },
    "SellPriceTier": "example",
    "SellPriceTierReference": {},
    "StopCredit": false,
    "TaxCode": "example",
    "TaxRate": 1.0,
    "Taxable": false,
    "TollFreeNumber": "example",
    "Website": "example",
    "XeroCostOfGoodsAccount": "example",
    "XeroSalesAccount": "example"
  }
}

Get a product

Get one product's details and prices.

Inputs

Product guidproduct_guidtextRequired
The product to get.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "AlternateUnitsOfMeasure": [],
    "AutomaticChargeCost": 1.0,
    "AverageLandPrice": 1.0,
    "Barcode": "example",
    "BinLocation": "example",
    "Comments": "example",
    "CommerceCode": "example",
    "CopyCommentsForPurchases": false,
    "CopyCommentsForSales": false,
    "CreatedBy": "example",
    "CreatedOn": "example",
    "CustomerSellPrice": 1.0,
    "CustomsDescription": "example",
    "DefaultPurchasePrice": 1.0,
    "DefaultPurchasesUnitOfMeasure": {
      "Guid": "example",
      "Name": "example",
      "Obsolete": false
    },
    "DefaultSellPrice": 1.0,
    "Depth": 1.0,
    "Guid": "example",
    "Height": 1.0,
    "ICCCountryCode": "example",
    "ICCCountryName": "example",
    "ImageUrl": "example",
    "Images": [],
    "InventoryDetails": [],
    "IsAssembledProduct": false,
    "IsBatchTracked": false,
    "IsComponent": false,
    "IsPurchasable": false,
    "IsSellable": false,
    "IsSerialized": false,
    "LastCost": 1.0,
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "MaxStockAlertLevel": 1.0,
    "MinStockAlertLevel": 1.0,
    "MinimumOrderQuantity": 1.0,
    "MinimumSaleQuantity": 1.0,
    "MinimumSellPrice": 1.0,
    "NeverDiminishing": false,
    "NominalCost": 1.0,
    "Notes": "example",
    "Obsolete": false,
    "PackSize": 1.0,
    "ProductBrand": {
      "BrandName": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "ProductCode": "example",
    "ProductDescription": "example",
    "ProductGroup": {
      "GroupName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "ParentGroupGuid": "example"
    },
    "ProductSubGroup": {
      "GroupName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "ParentGroupGuid": "example"
    },
    "PurchaseAccount": "example",
    "Reminder": "example",
    "SellPriceTier1": {},
    "SellPriceTier10": {},
    "SellPriceTier2": {},
    "SellPriceTier3": {},
    "SellPriceTier4": {},
    "SellPriceTier5": {},
    "SellPriceTier6": {},
    "SellPriceTier7": {},
    "SellPriceTier8": {},
    "SellPriceTier9": {},
    "SourceId": "example",
    "SourceVariantParentId": "example",
    "SupplementaryClassificationAbbreviation": "example",
    "Supplier": {
      "Guid": "example",
      "LeadTimeDays": 1,
      "MinimumOrderQuantity": 1.0,
      "SupplierCode": "example",
      "SupplierName": "example",
      "SupplierProductCode": "example",
      "SupplierProductDescription": "example",
      "SupplierProductPrice": 1.0,
      "UnitOfMeasure": {
        "Guid": "example",
        "Name": "example",
        "Obsolete": false
      }
    },
    "TaxablePurchase": false,
    "TaxableSales": false,
    "UnitOfMeasure": {
      "Guid": "example",
      "Name": "example",
      "Obsolete": false
    },
    "Weight": 1.0,
    "Width": 1.0,
    "XeroCostOfGoodsAccount": "example",
    "XeroSalesAccount": "example",
    "XeroSalesTaxCode": "example",
    "XeroSalesTaxRate": 1.0,
    "XeroTaxCode": "example",
    "XeroTaxRate": 1.0
  }
}

Get a product's stock on hand

Get one product's stock in each warehouse.

Inputs

Product guidproduct_guidtextRequired
The product to check.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

Get a purchase order

Get one purchase order with its lines.

Inputs

Order guidorder_guidtextRequired
The purchase order to get.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "BCSubTotal": 1.0,
    "BCTaxTotal": 1.0,
    "BCTotal": 1.0,
    "Comments": "example",
    "CompletedDate": "example",
    "CreatedBy": "example",
    "CreatedOn": "example",
    "Currency": {
      "CurrencyCode": "example",
      "DefaultBuyRate": 1.0,
      "DefaultSellRate": 1.0,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomOrderStatus": "example",
    "DeliveryCity": "example",
    "DeliveryCountry": "example",
    "DeliveryDate": "example",
    "DeliveryName": "example",
    "DeliveryPostCode": "example",
    "DeliveryRegion": "example",
    "DeliveryStreetAddress": "example",
    "DeliveryStreetAddress2": "example",
    "DeliverySuburb": "example",
    "DiscountRate": 1.0,
    "ExchangeRate": 1.0,
    "Guid": "example",
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "OrderDate": "example",
    "OrderNumber": "example",
    "OrderStatus": "example",
    "Printed": false,
    "PurchaseOrderLines": [],
    "ReceivedDate": "example",
    "SalesOrders": [],
    "SubTotal": 1.0,
    "Supplier": {
      "Guid": "example",
      "SupplierCode": "example",
      "SupplierName": "example"
    },
    "SupplierEORI": "example",
    "SupplierInvoiceDate": "example",
    "SupplierRef": "example",
    "Tax": {
      "CanApplyToExpenses": false,
      "CanApplyToRevenue": false,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false,
      "TaxCode": "example",
      "TaxRate": 1.0
    },
    "TaxCode": "example",
    "TaxRate": 1.0,
    "TaxTotal": 1.0,
    "Total": 1.0,
    "TotalVolume": 1.0,
    "TotalWeight": 1.0,
    "Warehouse": {
      "AddressLine1": "example",
      "AddressLine2": "example",
      "City": "example",
      "ContactName": "example",
      "Country": "example",
      "DDINumber": "example",
      "FaxNumber": "example",
      "Guid": "example",
      "IsDefault": false,
      "LastModifiedOn": "example",
      "MobileNumber": "example",
      "Obsolete": false,
      "PhoneNumber": "example",
      "PostCode": "example",
      "Region": "example",
      "StreetNo": "example",
      "Suburb": "example",
      "WarehouseCode": "example",
      "WarehouseName": "example"
    }
  }
}

Get a sales order

Get one sales order with its lines.

Inputs

Order guidorder_guidtextRequired
The sales order to get.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "BCSubTotal": 1.0,
    "BCTaxTotal": 1.0,
    "BCTotal": 1.0,
    "Comments": "example",
    "CompletedDate": "example",
    "CreatedBy": "example",
    "CreatedOn": "example",
    "Currency": {
      "CurrencyCode": "example",
      "DefaultBuyRate": 1.0,
      "DefaultSellRate": 1.0,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomOrderStatus": "example",
    "Customer": {
      "CurrencyId": 1,
      "CustomerCode": "example",
      "CustomerName": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomerRef": "example",
    "DeliveryCity": "example",
    "DeliveryContact": {
      "EmailAddress": "example",
      "FirstName": "example",
      "Guid": "example",
      "LastName": "example",
      "MobilePhone": "example",
      "OfficePhone": "example",
      "PhoneNumber": "example",
      "UseDefaultDeliveryAddress": false
    },
    "DeliveryCountry": "example",
    "DeliveryInstruction": "example",
    "DeliveryMethod": "example",
    "DeliveryName": "example",
    "DeliveryPostCode": "example",
    "DeliveryRegion": "example",
    "DeliveryStreetAddress": "example",
    "DeliveryStreetAddress2": "example",
    "DeliverySuburb": "example",
    "DiscountRate": 1.0,
    "ExchangeRate": 1.0,
    "Guid": "example",
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "OrderDate": "example",
    "OrderNumber": "example",
    "OrderStatus": "example",
    "PaymentDueDate": "example",
    "ReceivedDate": "example",
    "RequiredDate": "example",
    "SalesAccount": "example",
    "SalesOrderGroup": "example",
    "SalesOrderLines": [],
    "Salesperson": {
      "Email": "example",
      "FullName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false
    },
    "SourceId": "example",
    "SubTotal": 1.0,
    "Tax": {
      "CanApplyToExpenses": false,
      "CanApplyToRevenue": false,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false,
      "TaxCode": "example",
      "TaxRate": 1.0
    },
    "TaxRate": 1.0,
    "TaxTotal": 1.0,
    "Total": 1.0,
    "TotalVolume": 1.0,
    "TotalWeight": 1.0,
    "Warehouse": {
      "AddressLine1": "example",
      "AddressLine2": "example",
      "City": "example",
      "ContactName": "example",
      "Country": "example",
      "DDINumber": "example",
      "FaxNumber": "example",
      "Guid": "example",
      "IsDefault": false,
      "LastModifiedOn": "example",
      "MobileNumber": "example",
      "Obsolete": false,
      "PhoneNumber": "example",
      "PostCode": "example",
      "Region": "example",
      "StreetNo": "example",
      "Suburb": "example",
      "WarehouseCode": "example",
      "WarehouseName": "example"
    },
    "XeroTaxCode": "example"
  }
}

Get a supplier

Get one supplier's details.

Inputs

Supplier guidsupplier_guidtextRequired
The supplier to get.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Addresses": [],
    "BankAccount": "example",
    "BankBranch": "example",
    "BankName": "example",
    "CreatedBy": "example",
    "CreatedOn": "example",
    "Currency": {
      "CurrencyCode": "example",
      "DefaultBuyRate": 1.0,
      "DefaultSellRate": 1.0,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "DDINumber": "example",
    "DefaultWarehouse": {
      "Guid": "example",
      "WarehouseCode": "example",
      "WarehouseName": "example"
    },
    "Email": "example",
    "FaxNumber": "example",
    "GSTVATNumber": "example",
    "Guid": "example",
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "LeadTimeDays": 1.0,
    "MinimumOrderValue": 1.0,
    "MobileNumber": "example",
    "Notes": "example",
    "Obsolete": false,
    "PaymentTerm": "example",
    "PhoneNumber": "example",
    "PurchaseOrderCostDistributionMethod": "example",
    "PurchaseOrderPrintTemplate": "example",
    "Reminder": "example",
    "SupplierCode": "example",
    "SupplierName": "example",
    "SupplierReturnPrintTemplate": "example",
    "TaxRate": 1.0,
    "Taxable": false,
    "TollFreeNumber": "example",
    "Website": "example",
    "XeroContactId": "example"
  }
}

List currencies

List the currencies set up in Unleashed.

Inputs

In usein_usetrue/false
Only list currencies that have a buy rate set.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

List customers

List customers, a page at a time.

Inputs

Searchsearchtext
Only return customers whose code or name contains this text. Case-sensitive.
Customer codecustomer_codetext
Only return customers whose code starts with this text.
Customer namecustomer_nametext
Only return customers whose name starts with this text.
Currency codecurrency_codetext
Only return customers with this currency code.
Customer typecustomer_typetext
Only return customers of this type.
Modified sincemodified_sincedate
Only return records created or changed since this date (UTC).
Include obsoleteinclude_obsoletetrue/false
Also return records marked obsolete.
Order byorder_bytext
Sort by when records were last changed or created.One of: LastModifiedOn, CreatedOn.
Sortsorttext
Sort ascending or descending.One of: asc, desc.
Pagepagenumber
The page of results to return, starting at 1. Defaults to 1.At least 1.
Page sizepage_sizenumber
How many records to return on each page, up to 1,000. Defaults to 200.From 1 to 1000.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

List products

List products, a page at a time.

Inputs

Searchsearchtext
Only return products whose code or description contains this text.
Product codeproduct_codetext
Only return products whose code starts with this text.
Product groupproduct_grouptext
Only return products in this product group.
Modified sincemodified_sincedate
Only return records created or changed since this date (UTC).
Include obsoleteinclude_obsoletetrue/false
Also return records marked obsolete.
Order byorder_bytext
Sort by when records were last changed or created.One of: LastModifiedOn, CreatedOn.
Sortsorttext
Sort ascending or descending.One of: asc, desc.
Pagepagenumber
The page of results to return, starting at 1. Defaults to 1.At least 1.
Page sizepage_sizenumber
How many records to return on each page, up to 1,000. Defaults to 200.From 1 to 1000.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

List purchase orders

List purchase orders, a page at a time.

Inputs

Order statusorder_statustext
Only return orders in this status. Deleted orders are left out unless you choose Deleted.One of: Parked, Placed, Unapproved, Costed, Receipted, Complete, Deleted.
Supplier codesupplier_codetext
Only return orders from suppliers whose code starts with this text.
Order numberorder_numbertext
Only return the order with this number.
Warehouse codewarehouse_codetext
Only return orders for this warehouse.
Start datestart_datedate
Only return orders dated after this day.
End dateend_datedate
Only return orders dated before this day.
Modified sincemodified_sincedate
Only return records created or changed since this date (UTC).
Pagepagenumber
The page of results to return, starting at 1. Defaults to 1.At least 1.
Page sizepage_sizenumber
How many records to return on each page, up to 1,000. Defaults to 200.From 1 to 1000.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

List sales orders

List sales orders, most recently changed first.

Inputs

Order statusorder_statuslist
Only return orders in these statuses. Deleted orders are left out unless you choose Deleted.One or more of: Parked, Placed, Backordered, Completed, Deleted.
Customer codecustomer_codetext
Only return orders for customers whose code starts with this text.
Order numberorder_numbertext
Only return the order with this number.
Warehouse codewarehouse_codetext
Only return orders from this warehouse.
Start datestart_datedate
Only return orders dated on or after this day.
End dateend_datedate
Only return orders dated before this day.
Modified sincemodified_sincedate
Only return records created or changed since this date (UTC).
Pagepagenumber
The page of results to return, starting at 1. Defaults to 1.At least 1.
Page sizepage_sizenumber
How many records to return on each page, up to 1,000. Defaults to 200.From 1 to 1000.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

List stock on hand

List stock on hand, available and allocated quantities and costs by product.

Inputs

Warehouse codewarehouse_codetext
Only return stock in this warehouse.
As at dateas_at_datedate
Show stock as it was on this day.
Modified sincemodified_sincedate
Only return records created or changed since this date (UTC).
Pagepagenumber
The page of results to return, starting at 1. Defaults to 1.At least 1.
Page sizepage_sizenumber
How many records to return on each page, up to 1,000. Defaults to 200.From 1 to 1000.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

List suppliers

List suppliers, a page at a time.

Inputs

Supplier codesupplier_codetext
Only return suppliers whose code starts with this text.
Contact emailcontact_emailtext
Only return suppliers with a contact email starting with this text.
Modified sincemodified_sincedate
Only return records created or changed since this date (UTC).
Pagepagenumber
The page of results to return, starting at 1. Defaults to 1.At least 1.
Page sizepage_sizenumber
How many records to return on each page, up to 1,000. Defaults to 200.From 1 to 1000.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

List taxes

List the taxes set up in Unleashed, with their codes and rates.

Inputs

Can apply to revenuecan_apply_to_revenuetrue/false
Only list taxes that can be charged on sales.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

List warehouses

List your warehouses.

Inputs

Warehouse codewarehouse_codetext
Only return warehouses whose code starts with this text.
Include obsoleteinclude_obsoletetrue/false
Also return records marked obsolete.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Items": [],
    "Pagination": {
      "NumberOfItems": 1,
      "NumberOfPages": 1,
      "PageNumber": 1,
      "PageSize": 1
    }
  }
}

Make a product obsolete

Mark a product obsolete so it no longer appears on new orders.

Inputs

Product guidproduct_guidtextRequired
The product to make obsolete.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {}
}

Update a customer

Change a customer's details. Fields left blank keep their current values.

Inputs

Customer guidcustomer_guidtextRequired
The customer to change.
Customer namecustomer_nametext
The customer's name.
Contact first namecontact_first_nametext
The primary contact's first name.
Contact last namecontact_last_nametext
The primary contact's last name.
Emailemailtext
The primary contact's email address.
Phone numberphone_numbertext
The primary contact's phone number. Needs the contact's name or email.
Mobile numbermobile_numbertext
The primary contact's mobile number. Needs the contact's name or email.
Websitewebsitetext
The customer's website. Needs the contact's name or email.
Customer typecustomer_typetext
The customer type, as set up in Unleashed.
Payment termpayment_termtext
The payment term, as set up in Unleashed.
Notesnotestext
Notes about the customer.
Obsoleteobsoletetrue/false
Mark the customer obsolete (yes) or active again (no).

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "Addresses": [],
    "BankAccount": "example",
    "BankBranch": "example",
    "BankName": "example",
    "ContactFirstName": "example",
    "ContactLastName": "example",
    "Contacts": [],
    "CreatedBy": "example",
    "CreatedOn": "example",
    "CreditLimit": 1.0,
    "Currency": {
      "CurrencyCode": "example",
      "DefaultBuyRate": 1.0,
      "DefaultSellRate": 1.0,
      "Description": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "CustomerCode": "example",
    "CustomerName": "example",
    "CustomerType": "example",
    "CustomerTypeGuid": "example",
    "DDINumber": "example",
    "DefaultWarehouse": {
      "Guid": "example",
      "WarehouseCode": "example",
      "WarehouseName": "example"
    },
    "DeliveryInstruction": "example",
    "DeliveryMethod": "example",
    "DiscountRate": 1.0,
    "EORINumber": "example",
    "Email": "example",
    "EmailCC": "example",
    "FaxNumber": "example",
    "GSTVATNumber": "example",
    "Guid": "example",
    "HasCreditLimit": false,
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "MobileNumber": "example",
    "Notes": "example",
    "Obsolete": false,
    "PaymentTerm": "example",
    "PhoneNumber": "example",
    "PrintInvoice": false,
    "PrintPackingSlipInsteadOfInvoice": false,
    "Reminder": "example",
    "SalesOrderGroup": "example",
    "Salesperson": {
      "Email": "example",
      "FullName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "Obsolete": false
    },
    "SellPriceTier": "example",
    "SellPriceTierReference": {},
    "StopCredit": false,
    "TaxCode": "example",
    "TaxRate": 1.0,
    "Taxable": false,
    "TollFreeNumber": "example",
    "Website": "example",
    "XeroCostOfGoodsAccount": "example",
    "XeroSalesAccount": "example"
  }
}

Update a product

Change a product's details. Fields left blank keep their current values.

Inputs

Product guidproduct_guidtextRequired
The product to change.
Product descriptionproduct_descriptiontext
The product's name or description.
Default sell pricedefault_sell_pricenumber
The usual selling price of one unit.At least 0.
Default purchase pricedefault_purchase_pricenumber
The usual buying price of one unit.At least 0.
Barcodebarcodetext
The product's barcode.
Min stock alert levelmin_stock_alert_levelnumber
Warn when stock falls below this level.At least 0.
Max stock alert levelmax_stock_alert_levelnumber
Warn when stock rises above this level.At least 0.
Is sellableis_sellabletrue/false
Whether the product can go on sales orders. Defaults to yes.
Is purchasableis_purchasabletrue/false
Whether the product can go on purchase orders. Defaults to yes.
Notesnotestext
Notes about the product.

Outputs

dataobject
The response from Unleashed.
Example output
{
  "data": {
    "AlternateUnitsOfMeasure": [],
    "AutomaticChargeCost": 1.0,
    "AverageLandPrice": 1.0,
    "Barcode": "example",
    "BinLocation": "example",
    "Comments": "example",
    "CommerceCode": "example",
    "CopyCommentsForPurchases": false,
    "CopyCommentsForSales": false,
    "CreatedBy": "example",
    "CreatedOn": "example",
    "CustomerSellPrice": 1.0,
    "CustomsDescription": "example",
    "DefaultPurchasePrice": 1.0,
    "DefaultPurchasesUnitOfMeasure": {
      "Guid": "example",
      "Name": "example",
      "Obsolete": false
    },
    "DefaultSellPrice": 1.0,
    "Depth": 1.0,
    "Guid": "example",
    "Height": 1.0,
    "ICCCountryCode": "example",
    "ICCCountryName": "example",
    "ImageUrl": "example",
    "Images": [],
    "InventoryDetails": [],
    "IsAssembledProduct": false,
    "IsBatchTracked": false,
    "IsComponent": false,
    "IsPurchasable": false,
    "IsSellable": false,
    "IsSerialized": false,
    "LastCost": 1.0,
    "LastModifiedBy": "example",
    "LastModifiedOn": "example",
    "MaxStockAlertLevel": 1.0,
    "MinStockAlertLevel": 1.0,
    "MinimumOrderQuantity": 1.0,
    "MinimumSaleQuantity": 1.0,
    "MinimumSellPrice": 1.0,
    "NeverDiminishing": false,
    "NominalCost": 1.0,
    "Notes": "example",
    "Obsolete": false,
    "PackSize": 1.0,
    "ProductBrand": {
      "BrandName": "example",
      "Guid": "example",
      "LastModifiedOn": "example"
    },
    "ProductCode": "example",
    "ProductDescription": "example",
    "ProductGroup": {
      "GroupName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "ParentGroupGuid": "example"
    },
    "ProductSubGroup": {
      "GroupName": "example",
      "Guid": "example",
      "LastModifiedOn": "example",
      "ParentGroupGuid": "example"
    },
    "PurchaseAccount": "example",
    "Reminder": "example",
    "SellPriceTier1": {},
    "SellPriceTier10": {},
    "SellPriceTier2": {},
    "SellPriceTier3": {},
    "SellPriceTier4": {},
    "SellPriceTier5": {},
    "SellPriceTier6": {},
    "SellPriceTier7": {},
    "SellPriceTier8": {},
    "SellPriceTier9": {},
    "SourceId": "example",
    "SourceVariantParentId": "example",
    "SupplementaryClassificationAbbreviation": "example",
    "Supplier": {
      "Guid": "example",
      "LeadTimeDays": 1,
      "MinimumOrderQuantity": 1.0,
      "SupplierCode": "example",
      "SupplierName": "example",
      "SupplierProductCode": "example",
      "SupplierProductDescription": "example",
      "SupplierProductPrice": 1.0,
      "UnitOfMeasure": {
        "Guid": "example",
        "Name": "example",
        "Obsolete": false
      }
    },
    "TaxablePurchase": false,
    "TaxableSales": false,
    "UnitOfMeasure": {
      "Guid": "example",
      "Name": "example",
      "Obsolete": false
    },
    "Weight": 1.0,
    "Width": 1.0,
    "XeroCostOfGoodsAccount": "example",
    "XeroSalesAccount": "example",
    "XeroSalesTaxCode": "example",
    "XeroSalesTaxRate": 1.0,
    "XeroTaxCode": "example",
    "XeroTaxRate": 1.0
  }
}

On this page