Products
The Products resource allows products to be listed, viewed, created, and updated. An individual product’s details can be viewed or updated by appending its identifier (a GUID formatted as XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
) to the URI.
The full range of URIs and HTTP Verbs supported are:
Operation
HTTP Action
List a page of Products
GET /Products
View any Product
GET /Products/{productGuid}
Create or update a Product
POST /Products/{productGuid}
Obsolete a Product
POST /Products/Obsolete/{productGuid}
GET Products
Available Filters for GET Products
Filter
Description
brief
If set to true
, returns a brief summary of the Product list that only includes: Guid, ProductCode, ProductDescription, DefaultPurchasePrice, DefaultSellPrice, SellPriceTier1, DefaultSupplierId.
customerCode
If you have added customer specific product prices, the list of Product(s) will be displayed. The CustomerSellPrice
field will display the customer price.
excludeAssembled
If set to true
, assembled Products will not be displayed.
excludeComponents
If set to true
, component Products will not be displayed.
includeAttributes
If set to true
, returns the attributes associated with the requested Product.
includeObsolete
If set to true
, returns all Products, including obsolete. If set to true
or if it is not specified then returns only active (i.e. non-obsolete) Products.
modifiedSince
Returns Products created or modified since the specified date.
orderBy
Orders the list by LastModifiedOn
or CreatedOn
date. By default the list is ordered by `ProductCode`.
pageSize
Specifies the page size for pagination. Default page size is 200 Products.
Note: Requesting large numbers of products can be susceptible to poor network performance. Please reduce the page size if you experience delayed requests.
product
Only returns Products that contain the term in the code or description.
ProductBarcode
Only returns Products with the specific product barcode.
productCode
Returns Products that start with the specific product code.
productDescription
Returns Products that start with the specific product description.
productGroup
Returns Products with the specific product group.
productId
Returns Products with the specific product id. You can enter multiple product Ids separated by commas.
smart
If set to true
, overrides all other filters and returns all Products currently in stock, and those that have been in stock in the last 6 months.
sort
Orders the list by CreatedOn
date sorted in ascending or descending order.
Note: Date filters should be provided in the ISO format YYYY-MM-DD.
Filters are used by adding the filter and value to the URI:
/Products?productCode=ACME&includeObsolete=true
/Products?orderBy=CreatedOn
- returns products ordered by created on date sorted in ascending order.
/Products?orderBy=CreatedOn&sort=asc
- returns products ordered by created on date sorted in ascending order.
/Products?orderBy=CreatedOn&sort=desc
- returns products ordered by created on date sorted in descending order.
/Products?CustomerCode=[abc123]
- returns the list of products with customer specific prices.
/Products?excludeAssembled=true
- excludes all assembled products from the list.
/Products?excludeComponents=true
- excludes all component product from the list.
/Products?excludeAssembled=true&excludeComponents=true
- excludes all Component and Assembled products from the list.
Available Fields for GET Products
Property
Type
Length
AlternateUnitsOfMeasure
AlternateUnitOfMeasure collection
AutomaticChargeCost
Nullable Decimal
AverageLandPrice
Nullable Decimal
Barcode
String
200
BinLocation
String
50
CommerceCode
String
14
CreatedBy
String
50
CreatedOn
Nullable DateTime
CustomerSellPrice
Nullable Decimal
CustomsDescription
String
500
DefaultPurchasePrice
Nullable Decimal
DefaultSellPrice
Nullable Decimal
Depth
Nullable Decimal
DefaultPurchasesUnitOfMeasure
UnitOfMeasure
Guid
Guid
Height
Nullable Decimal
ICCCountryCode
String
2
ICCCountryName
String
100
Images
Image collection
ImageUrl
String
InventoryDetails
InventoryDetail collection
IsAssembledProduct
Boolean
true
,false
IsBatchTracked
Boolean
true
,false
IsComponent
Boolean
true
,false
IsSellable
Boolean
true
,false
IsPurchasable
Boolean
true
,false
IsSerialized
Boolean
true
,false
LastCost
Nullable Decimal
LastModifiedBy
String
50
LastModifiedOn
Nullable DateTime
MaxStockAlertLevel
Nullable Decimal
MinStockAlertLevel
Nullable Decimal
MinimumOrderQuantity
Nullable Decimal
MinimumSaleQuantity
Nullable Decimal
MinimumSellPrice
Nullable Decimal
NeverDiminishing
Nullable Boolean
true
,false
NominalCost
Nullable Decimal
Notes
String
1024
Obsolete
Boolean
true
,false
PackSize
Nullable Decimal
ProductCode
String
100
ProductDescription
String
500
ProductGroup
ProductGroup
PurchaseAccount
String
50
Reminder
String
1024
ReOrderPoint
Nullable Decimal
SellPriceTier1
SellPriceTier
SellPriceTier2
SellPriceTier
SellPriceTier3
SellPriceTier
SellPriceTier4
SellPriceTier
SellPriceTier5
SellPriceTier
SellPriceTier6
SellPriceTier
SellPriceTier7
SellPriceTier
SellPriceTier8
SellPriceTier
SellPriceTier9
SellPriceTier
SellPriceTier10
SellPriceTier
SourceId
String
500
SourceVariantParentId
String
SupplementaryClassificationAbbreviation
String
Supplier
SupplierWithProductCode
TaxablePurchase
Nullable Boolean
true
,false
TaxableSales
Nullable Boolean
true
,false
UnitOfMeasure
UnitOfMeasure
Url
String
500
Weight
Nullable Decimal
Width
Nullable Decimal
XeroCostOfGoodsAccount
String
50
XeroSalesAccount
String
50
XeroSalesTaxCode
String
50
XeroSalesTaxRate
Nullable Decimal
XeroTaxCode
String
50
XeroTaxRate
Nullable Decimal
Available Fields for Alternate Unit Of Measure
Property
Type
Length
Barcode
String
200
ConversionRate
Decimal
CubicTotal
Nullable Decimal
Depth
Nullable Decimal
ForPurchases
Boolean
Guid
Guid
Height
Nullable Decimal
Name
String
20
PackSize
Nullable Decimal
Weight
Nullable Decimal
Width
Nullable Decimal
Available Fields for Image
Property
Type
Length
IsDefault
Boolean
true
,false
Url
String
Available Fields for Inventory Detail
Note: InventoryDetail
require Per Warehouse Controls to be toggled on.
Property
Type
Length
BinLocation
String
50
WarehouseMinStockAlertLevel
Nullable Decimal
WarehouseMaxStockAlertLevel
Nullable Decimal
Warehouse
Warehouse
Available Fields for Product Group
Property
Type
Length
Guid
Guid
GroupName
String
450
LastModifiedOn
Nullable DateTime
Available Fields for Supplier With Product Code
Property
Type
Length
Guid
Guid
LeadTimeDays
Nullable Integer
MinimumOrderQuantity
Nullable Decimal
SupplierCode
String
500
SupplierName
String
500
SupplierProductCode
String
100
SupplierProductDescription
String
500
SupplierProductPrice
Nullable Decimal
UnitOfMeasure
UnitOfMeasure
Available Fields for Unit Of Measure
Property
Type
Length
Guid
Guid
Name
String
20
Obsolete
Boolean
Available Fields for Warehouse
Note: InventoryDetail
require Per Warehouse Controls to be toggled on.
Property
Type
Length
Guid
Guid
WarehouseCode
String
15
WarehouseName
String
100
Examples for Response GET /Products
show xml example
<?xml version="1.0"?>
<Products xmlns:xsd= "http://www.w3.org/2001/XMLSchema" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns= "http://api.unleashedsoftware.com/version/1" >
<Pagination>
<NumberOfItems> 1</NumberOfItems>
<PageSize> 200</PageSize>
<PageNumber> 1</PageNumber>
<NumberOfPages> 1</NumberOfPages>
</Pagination>
<Product>
<Guid> 85fd2a2b-bd65-4ca6-962d-2ba81b60653b</Guid>
<LastModifiedOn> 2023-04-17T02:48:01.3999239</LastModifiedOn>
<ProductCode> BOOKSHELF</ProductCode>
<ProductDescription> Wooden Bookshelf</ProductDescription>
<PackSize xsi:nil= "true" />
<Width xsi:nil= "true" />
<Height xsi:nil= "true" />
<Depth xsi:nil= "true" />
<Weight xsi:nil= "true" />
<MinStockAlertLevel> 0.0000</MinStockAlertLevel>
<MaxStockAlertLevel> 0.0000</MaxStockAlertLevel>
<ReOrderPoint xsi:nil= "true" />
<UnitOfMeasure>
<Guid> 2bb0942d-7cf3-400a-9fe4-b8b206a27a1f</Guid>
<Name> EA</Name>
<Obsolete> false</Obsolete>
</UnitOfMeasure>
<NeverDiminishing> false</NeverDiminishing>
<LastCost> 1790.7124</LastCost>
<DefaultPurchasePrice> 1987.0000</DefaultPurchasePrice>
<DefaultPurchasesUnitOfMeasure>
<Guid> 2bb0942d-7cf3-400a-9fe4-b8b206a27a1f</Guid>
<Name> EA</Name>
<Obsolete> false</Obsolete>
</DefaultPurchasesUnitOfMeasure>
<DefaultSellPrice> 2499.9900</DefaultSellPrice>
<CustomerSellPrice xsi:nil= "true" />
<AverageLandPrice> 1774.9345</AverageLandPrice>
<Obsolete> false</Obsolete>
<Images>
<Image>
<Url> https://unlappcdn.qa-syd.public.unl.sh/example.jpg</Url>
<IsDefault> true</IsDefault>
</Image>
</Images>
<ImageUrl> https://unlappcdn.qa-syd.public.unl.sh/example.jpg</ImageUrl>
<SellPriceTier1 name= "Sell Price Tier 1" />
<SellPriceTier2 name= "Sell Price Tier 2" />
<SellPriceTier3 name= "Sell Price Tier 3" />
<SellPriceTier4 name= "Sell Price Tier 4" />
<SellPriceTier5 name= "Sell Price Tier 5" />
<SellPriceTier6 name= "Sell Price Tier 6" />
<SellPriceTier7 name= "Sell Price Tier 7" />
<SellPriceTier8 name= "Sell Price Tier 8" />
<SellPriceTier9 name= "Sell Price Tier 9" />
<SellPriceTier10 name= "Sell Price Tier 10" />
<XeroTaxRate xsi:nil= "true" />
<TaxablePurchase> true</TaxablePurchase>
<TaxableSales> true</TaxableSales>
<XeroSalesTaxRate xsi:nil= "true" />
<IsComponent> false</IsComponent>
<IsAssembledProduct> true</IsAssembledProduct>
<ProductGroup>
<Guid> 52250a78-68c4-47c9-953a-791258549fe8</Guid>
<LastModifiedOn> 2021-03-30T00:30:43.8566667</LastModifiedOn>
<GroupName> Furniture</GroupName>
</ProductGroup>
<Supplier>
<Guid> 4d0f9c9e-73f0-4741-bc77-38a69cffeb1b</Guid>
<SupplierCode> BERRY</SupplierCode>
<SupplierName> Berry Boutique</SupplierName>
<UnitOfMeasure>
<Guid> 2bb0942d-7cf3-400a-9fe4-b8b206a27a1f</Guid>
<Name> EA</Name>
<Obsolete> false</Obsolete>
</UnitOfMeasure>
<SupplierProductPrice xsi:nil= "true" />
<MinimumOrderQuantity> 6.0000</MinimumOrderQuantity>
<LeadTimeDays> 9</LeadTimeDays>
</Supplier>
<IsSerialized> false</IsSerialized>
<IsBatchTracked> false</IsBatchTracked>
<IsPurchasable> true</IsPurchasable>
<IsSellable> true</IsSellable>
<MinimumSellPrice xsi:nil= "true" />
<MinimumSaleQuantity xsi:nil= "true" />
<MinimumOrderQuantity xsi:nil= "true" />
<NominalCost> 20.0000</NominalCost>
<CreatedBy> admin</CreatedBy>
<CreatedOn> 2021-03-30T00:30:43.8566667</CreatedOn>
<LastModifiedBy> mw@theaccessgroup.com</LastModifiedBy>
<InventoryDetails>
<InventoryDetail>
<BinLocation> 832A</BinLocation>
<Warehouse>
<Guid> 9ebf025d-87fb-4b22-91cc-590d22306d08</Guid>
<WarehouseCode> MAIN</WarehouseCode>
<WarehouseName> Main Warehouse</WarehouseName>
</Warehouse>
<WarehouseMinStockAlertLevel xsi:nil= "true" />
<WarehouseMaxStockAlertLevel xsi:nil= "true" />
</InventoryDetail>
<InventoryDetail>
<BinLocation> 061C</BinLocation>
<Warehouse>
<Guid> 42c41440-723a-4d1c-9871-91f607dc485f</Guid>
<WarehouseCode> HQ</WarehouseCode>
<WarehouseName> Head Office</WarehouseName>
</Warehouse>
<WarehouseMinStockAlertLevel xsi:nil= "true" />
<WarehouseMaxStockAlertLevel xsi:nil= "true" />
</InventoryDetail>
</InventoryDetails>
<AlternateUnitsOfMeasure>
<AlternateUnitOfMeasure>
<Guid> 21bd3922-f775-4e50-a20d-60429ece2d32</Guid>
<Name> Pack</Name>
<ConversionRate> 2.0000</ConversionRate>
<Barcode> 4444</Barcode>
<PackSize> 3.0000</PackSize>
<Weight> 5.000</Weight>
<Width> 2.000</Width>
<Height> 2.000</Height>
<Depth> 2.000</Depth>
<CubicTotal> 8.000</CubicTotal>
<ForPurchases> true</ForPurchases>
</AlternateUnitOfMeasure>
<AlternateUnitOfMeasure>
<Guid> 124b69dc-2339-4d8e-866b-68faf3045236</Guid>
<Name> ML</Name>
<ConversionRate> 700.0000</ConversionRate>
<Barcode> 888888</Barcode>
<PackSize> 55.0000</PackSize>
<Weight> 1.000</Weight>
<Width> 1.000</Width>
<Height> 1.000</Height>
<Depth> 1.000</Depth>
<CubicTotal> 1.000</CubicTotal>
<ForPurchases> true</ForPurchases>
</AlternateUnitOfMeasure>
</AlternateUnitsOfMeasure>
<AutomaticChargeCost> 1.2</AutomaticChargeCost>
</Product>
</Products>
show json example
{
"Pagination" : {
"NumberOfItems" : 1 ,
"PageSize" : 200 ,
"PageNumber" : 1 ,
"NumberOfPages" : 1
},
"Items" : [
{
"ProductCode" : "BOOKSHELF" ,
"ProductDescription" : "Wooden Bookshelf" ,
"Barcode" : null ,
"PackSize" : null ,
"Width" : null ,
"Height" : null ,
"Depth" : null ,
"Weight" : null ,
"MinStockAlertLevel" : 0.0000 ,
"MaxStockAlertLevel" : 0.0000 ,
"ReOrderPoint" : null ,
"UnitOfMeasure" : {
"Guid" : "2bb0942d-7cf3-400a-9fe4-b8b206a27a1f" ,
"Name" : "EA" ,
"Obsolete" : false
},
"NeverDiminishing" : false ,
"LastCost" : 1790.7124 ,
"DefaultPurchasePrice" : 1987.0000 ,
"DefaultPurchasesUnitOfMeasure" : {
"Guid" : "2bb0942d-7cf3-400a-9fe4-b8b206a27a1f" ,
"Name" : "EA" ,
"Obsolete" : false
},
"DefaultSellPrice" : 2499.9900 ,
"CustomerSellPrice" : null ,
"AverageLandPrice" : 1774.9345 ,
"Obsolete" : false ,
"Notes" : null ,
"Images" : [
{
"Url" : "https://unlappcdn.qa-syd.public.unl.sh/example.jpg" ,
"IsDefault" : true
}
],
"ImageUrl" : "https://unlappcdn.qa-syd.public.unl.sh/example.jpg" ,
"SellPriceTier1" : {
"Name" : "Sell Price Tier 1" ,
"Value" : null
},
"SellPriceTier2" : {
"Name" : "Sell Price Tier 2" ,
"Value" : null
},
"SellPriceTier3" : {
"Name" : "Sell Price Tier 3" ,
"Value" : null
},
"SellPriceTier4" : {
"Name" : "Sell Price Tier 4" ,
"Value" : null
},
"SellPriceTier5" : {
"Name" : "Sell Price Tier 5" ,
"Value" : null
},
"SellPriceTier6" : {
"Name" : "Sell Price Tier 6" ,
"Value" : null
},
"SellPriceTier7" : {
"Name" : "Sell Price Tier 7" ,
"Value" : null
},
"SellPriceTier8" : {
"Name" : "Sell Price Tier 8" ,
"Value" : null
},
"SellPriceTier9" : {
"Name" : "Sell Price Tier 9" ,
"Value" : null
},
"SellPriceTier10" : {
"Name" : "Sell Price Tier 10" ,
"Value" : null
},
"XeroTaxCode" : null ,
"XeroTaxRate" : null ,
"TaxablePurchase" : true ,
"TaxableSales" : true ,
"XeroSalesTaxCode" : null ,
"XeroSalesTaxRate" : null ,
"IsComponent" : false ,
"IsAssembledProduct" : true ,
"ProductGroup" : {
"GroupName" : "Furniture" ,
"Guid" : "52250a78-68c4-47c9-953a-791258549fe8" ,
"LastModifiedOn" : "/Date(1617064243856)/"
},
"XeroSalesAccount" : null ,
"XeroCostOfGoodsAccount" : null ,
"PurchaseAccount" : null ,
"BinLocation" : null ,
"Supplier" : {
"SupplierProductCode" : null ,
"SupplierProductDescription" : null ,
"UnitOfMeasure" : {
"Guid" : "2bb0942d-7cf3-400a-9fe4-b8b206a27a1f" ,
"Name" : "EA" ,
"Obsolete" : false
},
"SupplierProductPrice" : null ,
"MinimumOrderQuantity" : 6.0000 ,
"LeadTimeDays" : 9 ,
"Guid" : "4d0f9c9e-73f0-4741-bc77-38a69cffeb1b" ,
"SupplierCode" : "BERRY" ,
"SupplierName" : "Berry Boutique"
},
"AttributeSet" : null ,
"SourceId" : null ,
"SourceVariantParentId" : null ,
"IsSerialized" : false ,
"IsBatchTracked" : false ,
"IsPurchasable" : true ,
"IsSellable" : true ,
"MinimumSellPrice" : null ,
"MinimumSaleQuantity" : null ,
"MinimumOrderQuantity" : null ,
"NominalCost" : 20.0000 ,
"CreatedBy" : "admin" ,
"CreatedOn" : "/Date(1617064243856)/" ,
"LastModifiedBy" : "mw@theaccessgroup.com" ,
"CommerceCode" : null ,
"CustomsDescription" : null ,
"SupplementaryClassificationAbbreviation" : null ,
"ICCCountryCode" : null ,
"ICCCountryName" : null ,
"AutomaticChargeCost" : 1.2 ,
"InventoryDetails" : [
{
"BinLocation" : "832A" ,
"Warehouse" : {
"Guid" : "9ebf025d-87fb-4b22-91cc-590d22306d08" ,
"WarehouseCode" : "MAIN" ,
"WarehouseName" : "Main Warehouse"
},
"WarehouseMinStockAlertLevel" : null ,
"WarehouseMaxStockAlertLevel" : null
},
{
"BinLocation" : "061C" ,
"Warehouse" : {
"Guid" : "42c41440-723a-4d1c-9871-91f607dc485f" ,
"WarehouseCode" : "HQ" ,
"WarehouseName" : "Head Office"
},
"WarehouseMinStockAlertLevel" : null ,
"WarehouseMaxStockAlertLevel" : null
}
],
"AlternateUnitsOfMeasure" : [
{
"Guid" : "21bd3922-f775-4e50-a20d-60429ece2d32" ,
"Name" : "Dhingi" ,
"ConversionRate" : 2.0000 ,
"ForPurchases" : true ,
"Barcode" : "4444" ,
"PackSize" : 3.0000 ,
"Weight" : 5.000 ,
"Width" : 2.000 ,
"Height" : 2.000 ,
"Depth" : 2.000 ,
"CubicTotal" : 8.000
},
{
"Guid" : "124b69dc-2339-4d8e-866b-68faf3045236" ,
"Name" : "ML" ,
"ConversionRate" : 700.0000 ,
"ForPurchases" : true ,
"Barcode" : "888888" ,
"PackSize" : 55.0000 ,
"Weight" : 1.000 ,
"Width" : 1.000 ,
"Height" : 1.000 ,
"Depth" : 1.000 ,
"CubicTotal" : 1.000
}
],
"Guid" : "85fd2a2b-bd65-4ca6-962d-2ba81b60653b" ,
"LastModifiedOn" : "/Date(1681699681399)/"
}
]
}
POST Products
Available Request Fields for POST Products
Note: Updates made to existing Products will overwrite existing information, fields left blank will be removed.
Property
Type
Length
Required
Notes
AlternateUnitsOfMeasure
AlternateUnitOfMeasure collection
AutomaticChargeCost
Nullable Decimal
Only applicable if Automatic Product Charge is toggled on.
Barcode
String
200
BinLocation
String
50
Only applicable if Per Warehouse Controls are toggled off.
CommerceCode
String
14
'International Commerce Codes' setting must be enabled to update this field. Only digits 0 - 9 can be entered.
CustomsDescription
String
500
'International Commerce Codes' setting must be enabled to update this field. A simplified description of the product to appear on a commercial invoice.
DefaultPurchasePrice
Nullable Decimal
DefaultSellPrice
Nullable Decimal
Depth
Nullable Decimal
DefaultPurchasesUnitOfMeasure
UnitOfMeasure
The Purchasing default unit of measure.
Guid
Guid
Yes
Unique identifier. Can only be set when adding a record.
Height
Nullable Decimal
ICCCountryCode
String
2
'International Commerce Codes' setting must be enabled to update this field. Use 2 two-letter country codes following ISO 3166-1 alpha-2.
ICCCountryName
String
100
'International Commerce Codes' setting must be enabled to update this field. We will apply the correct ICC country based on the ICCCountryCode.
IsComponent
Boolean
true
,false
IsSellable
Boolean
true
,false
Default is True. If you do not want the product to be available on the Sales Quotes / Sales Orders, you must set it to False.
IsPurchasable
Boolean
true
,false
Default is True. If you do not want the product to be available to Purchase, you must set it to False.
MaxStockAlertLevel
Nullable Decimal
MinStockAlertLevel
Nullable Decimal
MinimumOrderQuantity
Nullable Decimal
Null or missing property will not override existing information.
MinimumSaleQuantity
Nullable Decimal
Null or missing property will not override existing information.
MinimumSellPrice
Nullable Decimal
Null or missing property will not override existing information. Products will not be sold below this amount. The value cannot be lower than the default sell price.
NeverDiminishing
Nullable Boolean
true
,false
NominalCost
Nullable Decimal
Notes
String
1024
Obsolete
Boolean
true
,false
PackSize
Nullable Decimal
ProductCode
String
100
Yes
Unique code. Can only be set when adding a record.
ProductDescription
String
500
Yes
ProductGroup
ProductGroup
PurchaseAccount
String
50
Reminder
String
1024
ReOrderPoint
Nullable Decimal
SellPriceTier1
SellPriceTier
SellPriceTier2
SellPriceTier
SellPriceTier3
SellPriceTier
SellPriceTier4
SellPriceTier
SellPriceTier5
SellPriceTier
SellPriceTier6
SellPriceTier
SellPriceTier7
SellPriceTier
SellPriceTier8
SellPriceTier
SellPriceTier9
SellPriceTier
SellPriceTier10
SellPriceTier
SupplementaryClassificationAbbreviation
String
2
'International Commerce Codes' setting must be enabled to update this field. Not required but validated. Refer to the drop-down lists on any Product page for accepted values, or leave the field blank.
Supplier
SupplierWithProductCode
The Purchasing default Supplier.
TaxablePurchase
Nullable Boolean
true
,false
TaxableSales
Nullable Boolean
true
,false
UnitOfMeasure
UnitOfMeasure
*See Notes
Updates to existing Products, that have a Base Unit of Measure, must include the UnitofMeasure.
Weight
Nullable Decimal
Width
Nullable Decimal
XeroCostOfGoodsAccount
String
50
XeroSalesAccount
String
50
XeroSalesTaxCode
String
50
XeroSalesTaxRate
Nullable Decimal
XeroTaxCode
String
50
XeroTaxRate
Nullable Decimal
Available Request Fields for Alternate Unit Of Measure
Note: At a minimum, a valid Guid
or Name
is required.
Property
Type
Length
Required
Notes
Barcode
String
200
ConversionRate
Decimal
Yes
Depth
Decimal
ForPurchases
Boolean
Yes
Defaults to true
Guid
Guid
Height
Decimal
Name
String
20
PackSize
Decimal
Weight
Decimal
Width
Decimal
Available Request Fields for Product Group
Property
Type
Length
Required
Guid
Guid
Yes
GroupName
String
450
Available Request Fields for Supplier With Product Code
Property
Type
Length
Required
Notes
Guid
Guid
Yes
LeadTimeDays
Integer
MinimumOrderQuantity
Decimal
SupplierCode
String
500
SupplierName
String
500
SupplierProductCode
String
100
SupplierProductDescription
String
500
SupplierProductPrice
Decimal
UnitOfMeasure
UnitOfMeasure
Must be an existing Unit of Measure
Available Request Fields for Unit Of Measure
Note: At a minimum, a valid Guid
or Name
is required.
Property
Type
Length
Required
Guid
Guid
Name
String
20
Obsolete
Boolean
Examples for Request POST /Products/{productGuid}
show xml example
<?xml version="1.0"?>
<Product xmlns:xsd= "http://www.w3.org/2001/XMLSchema" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns= "http://api.unleashedsoftware.com/version/1" >
<Guid> c97c6b46-f1cc-4741-b236-f882995e7d9a</Guid>
<ProductCode> API_POST_Example_1</ProductCode>
<ProductDescription> API Post Example_1</ProductDescription>
<UnitOfMeasure>
<Guid> c97c6b46-f1cc-4741-b236-f882995e7d9d</Guid>
</UnitOfMeasure>
<AlternateUnitsOfMeasure>
<AlternateUnitOfMeasure>
<Guid> 84a37eba-02c2-44cf-aecd-3b9a492eed3f</Guid>
<ConversionRate> 5</ConversionRate>
<PackSize> 2</PackSize>
</AlternateUnitOfMeasure>
<AlternateUnitOfMeasure>
<Guid> 794b39bc-6416-46ec-8149-d12616cbaf3d</Guid>
<ConversionRate> 1</ConversionRate>
<Width> 1.2</Width>
<Weight> 10</Weight>
<Height> 3</Height>
<Depth> 2</Depth>
</AlternateUnitOfMeasure>
</AlternateUnitsOfMeasure>
<NeverDiminishing> false</NeverDiminishing>
<LastCost> 0.0000</LastCost>
<DefaultPurchasePrice> 1987.0000</DefaultPurchasePrice>
<DefaultSellPrice> 2499.9900</DefaultSellPrice>
<AverageLandPrice> 0.0000</AverageLandPrice>
<Obsolete> false</Obsolete>
<TaxablePurchase> true</TaxablePurchase>
<TaxableSales> true</TaxableSales>
<IsComponent> false</IsComponent>
<IsAssembledProduct> true</IsAssembledProduct>
<CommerceCode> 555555</CommerceCode>
<CustomsDescription> description</CustomsDescription>
<SupplementaryClassificationAbbreviation> GT</SupplementaryClassificationAbbreviation>
<ICCCountryCode> AO</ICCCountryCode>
<ICCCountryName> Angola</ICCCountryName>
<ProductGroup>
<Guid> 62ad81e4-ae76-4357-bfe8-7bef8e1c4c4e</Guid>
<LastModifiedOn> 2016-03-15T20:00:58.7066667</LastModifiedOn>
<GroupName> Furniture</GroupName>
</ProductGroup>
<IsSerialized> false</IsSerialized>
<IsBatchTracked> false</IsBatchTracked>
<MinimumSellPrice> 2.0000</MinimumSellPrice>
<MinimumSaleQuantity> 1.0000</MinimumSaleQuantity>
<MinimumOrderQuantity> 1.0000</MinimumOrderQuantity>
<NominalCost> 15.0000</NominalCost>
<AutomaticChargeCost> 1.2</AutomaticChargeCost>
<Supplier>
<Guid> 7ab407d9-acb5-4136-86da-f06cf57d8d38</Guid>
<SupplierCode> BERRY</SupplierCode>
<SupplierName> Berry Boutique</SupplierName>
<UnitOfMeasure>
<Guid> 84a37eba-02c2-44cf-aecd-3b9a492eed3f</Guid>
<Name> EA</Name>
<Obsolete> false</Obsolete>
</UnitOfMeasure>
<LeadTimeDays> 1</LeadTimeDays>
</Supplier>
</Product>
show json example
{
"Guid" : "c97c6b46-f1cc-4741-b236-f882995e7d9f" ,
"ProductCode" : "API_POST_Example" ,
"ProductDescription" : "API Post Example" ,
"UnitOfMeasure" : {
"Guid" : "c97c6b46-f1cc-4741-b236-f882995e7d9d"
},
"AlternateUnitsOfMeasure" : [
{
"Guid" : "84a37eba-02c2-44cf-aecd-3b9a492eed3f" ,
"ConversionRate" : 5 ,
"PackSize" : 2
},
{
"Guid" : "794b39bc-6416-46ec-8149-d12616cbaf3d" ,
"ConversionRate" : 1 ,
"Width" : 1.2 ,
"Weight" : 10 ,
"Height" : 3 ,
"Depth" : 2
}
],
"NeverDiminishing" : false ,
"LastCost" : 5024.94 ,
"DefaultPurchasePrice" : 1987 ,
"DefaultSellPrice" : 2499.99 ,
"AverageLandPrice" : 2015.6756 ,
"Obsolete" : false ,
"TaxablePurchase" : true ,
"TaxableSales" : true ,
"IsComponent" : false ,
"IsAssembledProduct" : true ,
"CommerceCode" : "555555" ,
"CustomsDescription" : "test" ,
"SupplementaryClassificationAbbreviation" : "GT" ,
"ICCCountryCode" : "AO" ,
"ICCCountryName" : "Angola" ,
"ProductGroup" : {
"GroupName" : "Furniture" ,
"Guid" : "62ad81e4-ae76-4357-bfe8-7bef8e1c4c4e"
},
"IsSerialized" : false ,
"IsBatchTracked" : false ,
"MinimumSellPrice" : 2.0000 ,
"MinimumSaleQuantity" : 1.0000 ,
"MinimumOrderQuantity" : 1.0000 ,
"AutomaticChargeCost" : 1.2 ,
"NominalCost" : 15.0000 ,
"Supplier" : {
"Guid" : "7ab407d9-acb5-4136-86da-f06cf57d8d38" ,
"SupplierCode" : "BERRY" ,
"SupplierName" : "Berry Boutique" ,
"UnitOfMeasure" : {
"Guid" : "84a37eba-02c2-44cf-aecd-3b9a492eed3f" ,
"Name" : "EA" ,
"Obsolete" : false
},
"LeadTimeDays" : 1
}
}