User Tools

Site Tools


webapi_swagger_documentation:57526

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
webapi_swagger_documentation:57526 [2020/01/22 10:10 (4 years ago)] kevinwebapi_swagger_documentation:57526 [2020/01/22 10:25 (4 years ago)] kevin
Line 5: Line 5:
 This functionality is only available in 6.2.7.297 or greater beta release. This functionality is only available in 6.2.7.297 or greater beta release.
 </note> </note>
 +
 +<note>In our program and documentation we use the terms "Price level" or "Price Schedule" interchangeably as they are the same thing.  A price code determines how the price level is calculated using the RegPricePercentage or SalePricePercentage depending on sale dates.
  
 ===== [GET]/Inventory/{InventoryId} ===== ===== [GET]/Inventory/{InventoryId} =====
-End Point has been modified to return all of the Pricing information including the Price Code, Price Code Description, Prices, Percentage as shown below:+End Point has been modified to return all of the Pricing information including the Price Code, Description, Prices, Percentage as shown below:
   * "Level": 0,   * "Level": 0,
   * "Department": 0,   * "Department": 0,
Line 18: Line 20:
   * "SalePriceDesc": "Margin from Landed",   * "SalePriceDesc": "Margin from Landed",
   * "SalePricePercent": 40   * "SalePricePercent": 40
 +
 +<code>
 +{
 +  "Inventory": [
 +    {
 +      "InventoryId": 0,
 +      "PartNumber": "string",
 +      "ItemNumber": "string",
 +      "SupplierPartNumber": "string",
 +      "SubCategory": "string",
 +      "Prices": [
 +        {
 +          "Level": 0,
 +          "Department": 0,
 +          "Regular": 0,
 +          "Sale": 0
 +        }
 +      ],
 +      "VendorId": 0,
 +      "VendorName": "string",
 +      "BrandName": "string",
 +      "Description": "string",
 +      "Description2": "string",
 +      "UnitOfMeasure": "string",
 +      "MarkedDeleted": true,
 +      "InventoryFreeFormGroup1": [
 +        {
 +          "FreeFormData": "string",
 +          "FreeFormID": 0
 +        }
 +      ],
 +      "InventoryFreeFormGroup2": [
 +        {
 +          "FreeFormData": "string",
 +          "FreeFormID": 0
 +        }
 +      ],
 +      "InventorySellingComment": "string",
 +      "InventoryInvoiceComment": "string",
 +      "InventoryWebComment": "string",
 +      "STA": [
 +        {
 +          "STAId": 0,
 +          "STANumber": "string",
 +          "Description": "string",
 +          "Startdate": "2020-01-22T18:20:49.201Z",
 +          "EndDate": "2020-01-22T18:20:49.201Z",
 +          "IsActive": true,
 +          "RetailPrice": 0,
 +          "CostPrice": 0,
 +          "BrandId": 0,
 +          "PartId": 0,
 +          "MainSTAId": 0,
 +          "Department": 0
 +        }
 +      ],
 +      "eCommerce": true,
 +      "KitType": 0,
 +      "Weight": 0,
 +      "StartSaleDate": "string",
 +      "EndSaleDate": "string",
 +      "AltSupply": [
 +        {
 +          "AltSupplyId": 0,
 +          "InventoryId": 0,
 +          "SupplierId": 0,
 +          "Cost": 0,
 +          "RecordType": "string",
 +          "SupplierPartNumber": "string",
 +          "RecordSource": 0,
 +          "Extra": 0,
 +          "Freight": 0,
 +          "Duty": 0,
 +          "PackSize": "string",
 +          "SupplierName": "string"
 +        }
 +      ],
 +      "Barcodes": [
 +        {
 +          "AltSupplyId": 0,
 +          "InventoryId": 0,
 +          "SupplierId": 0,
 +          "Barcode": "string",
 +          "SupplierName": "string"
 +        }
 +      ],
 +      "Wholesale": 0,
 +      "Extra": 0,
 +      "Freight": 0,
 +      "Duty": 0,
 +      "Landed": 0,
 +      "Measurement1": 0,
 +      "Measurement2": 0,
 +      "Size1": "string",
 +      "Size2": "string",
 +      "Size3": "string",
 +      "InStock": 0
 +    }
 +  ],
 +  "InventoryFreeFormHeaders": [
 +    {
 +      "FreeFormHeaderName": "string",
 +      "FreeFormHeaderIsChanged": true,
 +      "FreeFormID": 0
 +    }
 +  ],
 +  "APIResponse": {
 +    "IsSuccess": true,
 +    "Response": "string",
 +    "ElapsedTime": "string",
 +    "RecordCount": "string"
 +  }
 +}
 +</code>
  
 ==== [POST]Inventory/addInventory ==== ==== [POST]Inventory/addInventory ====
webapi_swagger_documentation/57526.txt · Last modified: 2020/01/22 10:26 (4 years ago) by kevin