POST api/Partner/{id}/CreatePOSSKU
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
clsInvoiceProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| PartnerID | integer |
None. |
|
| ExternalProductID | string |
String length: inclusive between 0 and 100 |
|
| SKU | string |
String length: inclusive between 0 and 100 |
|
| UnitPrice | decimal number |
None. |
|
| UnitPrice_IncludingTax | decimal number |
None. |
|
| Name | string |
String length: inclusive between 0 and 200 |
|
| Description | string |
String length: inclusive between 0 and 1000 |
|
| Brand | string |
String length: inclusive between 0 and 200 |
|
| Type | string |
String length: inclusive between 0 and 100 |
|
| VariantID | string |
String length: inclusive between 0 and 100 |
|
| IsActive | boolean |
None. |
|
| Taxable | boolean |
None. |
|
| NonInventory | boolean |
None. |
|
| ManufacturerSKU | string |
None. |
|
| SystemSKU | string |
None. |
|
| UPC | string |
None. |
|
| EAN | string |
None. |
|
| CustomSKU | string |
None. |
|
| Tax | decimal number |
None. |
|
| TaxRate | decimal number |
None. |
|
| CostPrice | decimal number |
None. |
|
| POSTaxID | string |
None. |
|
| LinkedGear | Collection of clsInvoiceProductToGearLink |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PartnerID": 1,
"ExternalProductID": "sample string 2",
"SKU": "sample string 3",
"UnitPrice": 4.1,
"UnitPrice_IncludingTax": 5.1,
"Name": "sample string 6",
"Description": "sample string 7",
"Brand": "sample string 8",
"Type": "sample string 9",
"VariantID": "sample string 10",
"IsActive": true,
"Taxable": true,
"NonInventory": true,
"ManufacturerSKU": "sample string 14",
"SystemSKU": "sample string 15",
"UPC": "sample string 16",
"EAN": "sample string 17",
"CustomSKU": "sample string 18",
"Tax": 19.1,
"TaxRate": 1.1,
"CostPrice": 1.1,
"POSTaxID": "sample string 20",
"LinkedGear": [
{
"InvoiceProductID": 1,
"GearTypeID": 2,
"GearType": "sample string 3",
"IsService": true,
"IsReplacement": true,
"CreatedDate": "2026-03-21T11:24:13.5591824+00:00",
"CreatedBy": 7,
"UpdatedDate": "2026-03-21T11:24:13.5591824+00:00",
"UpdatedBy": 9,
"ID": 10
},
{
"InvoiceProductID": 1,
"GearTypeID": 2,
"GearType": "sample string 3",
"IsService": true,
"IsReplacement": true,
"CreatedDate": "2026-03-21T11:24:13.5591824+00:00",
"CreatedBy": 7,
"UpdatedDate": "2026-03-21T11:24:13.5591824+00:00",
"UpdatedBy": 9,
"ID": 10
}
],
"CreatedDate": "2026-03-21T11:24:13.5591824+00:00",
"CreatedBy": 22,
"UpdatedDate": "2026-03-21T11:24:13.5591824+00:00",
"UpdatedBy": 24,
"ID": 25
}
application/xml, text/xml
Sample:
<clsInvoiceProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Invoices">
<ID xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">25</ID>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">22</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">2026-03-21T11:24:13.5591824+00:00</CreatedDate>
<UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">24</UpdatedBy>
<UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">2026-03-21T11:24:13.5591824+00:00</UpdatedDate>
<Brand>sample string 8</Brand>
<CostPrice>1.1</CostPrice>
<CustomSKU>sample string 18</CustomSKU>
<Description>sample string 7</Description>
<EAN>sample string 17</EAN>
<ExternalProductID>sample string 2</ExternalProductID>
<IsActive>true</IsActive>
<LinkedGear>
<clsInvoiceProductToGearLink>
<ID xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">10</ID>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">7</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">2026-03-21T11:24:13.5591824+00:00</CreatedDate>
<UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">9</UpdatedBy>
<UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">2026-03-21T11:24:13.5591824+00:00</UpdatedDate>
<GearType>sample string 3</GearType>
<GearTypeID>2</GearTypeID>
<InvoiceProductID>1</InvoiceProductID>
<IsReplacement>true</IsReplacement>
<IsService>true</IsService>
</clsInvoiceProductToGearLink>
<clsInvoiceProductToGearLink>
<ID xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">10</ID>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">7</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">2026-03-21T11:24:13.5591824+00:00</CreatedDate>
<UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">9</UpdatedBy>
<UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Entities.Base">2026-03-21T11:24:13.5591824+00:00</UpdatedDate>
<GearType>sample string 3</GearType>
<GearTypeID>2</GearTypeID>
<InvoiceProductID>1</InvoiceProductID>
<IsReplacement>true</IsReplacement>
<IsService>true</IsService>
</clsInvoiceProductToGearLink>
</LinkedGear>
<ManufacturerSKU>sample string 14</ManufacturerSKU>
<Name>sample string 6</Name>
<NonInventory>true</NonInventory>
<POSTaxID>sample string 20</POSTaxID>
<PartnerID>1</PartnerID>
<SKU>sample string 3</SKU>
<SystemSKU>sample string 15</SystemSKU>
<Tax>19.1</Tax>
<TaxRate>1.1</TaxRate>
<Taxable>true</Taxable>
<Type>sample string 9</Type>
<UPC>sample string 16</UPC>
<UnitPrice>4.1</UnitPrice>
<UnitPrice_IncludingTax>5.1</UnitPrice_IncludingTax>
<VariantID>sample string 10</VariantID>
</clsInvoiceProduct>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.