...
- authenticationToken (required) (string:50): Komet Sales security token.
- includeBoxes:* (optional) (integer:1) 1 include boxes. 0 or empty does not include boxes
- inventoryType:* (optional) (string:5). Valid valid values: all or M, L, S, P (OpenMarket, Local, Standing Order and Prebook), M is the default option. You can place several of them enter different values separated by commas (L,S,P). With "all" get you will include all the options together.
Response
Output:
- status (integer:1): Transaction transaction status. 1 for sucess or 0 for failure/error.
- message (string:500): Contains contains status description of request.
- inventoryItems: Array array of available inventory items.
- companyProductId (integer:20): ID of the product.
- orderItemId (integer:20): Inventory Item idID.
- grade (string:100): Grade grade or product cut point.
- productDescription (string:200): Product product description.
- quantity (integer:20): Number number of available boxes.
- totalUnits (integer:20): Total total units. When unit type is bunch this is the number of total bunches; when the unit type is stem this is the number of total stems.
- growerId (integer: 20): Grower grower or vendor ID.
- growerName (string:200): Grower grower or vendor name.
- boxTypeId (integer:20): Box box type ID.
- boxTypeCode (string:3): Code code used that corresponds to the size of the box (i.e. FB, EB, etc.).
- unitType (string:5): Unit unit type (Bunch or Stem).
- bunches (integer:20): Number number of bunches per box.
- unitsPerBox (integer:20): Units units per box or pack.
- stemsBunch (integer:20) Number number of stems per bunch.
- inventoryDate (date): Inventory inventory date.
- price (decimal:10,2): Unit unit price or price per individual item.
- sellFast (boolean: true/false): Indicates indicates whether or not this item qualifies as sell fast.
- isAssorted (bolean: true/false): Indicates if indicates whether this item is assorted or it has breakdowns.
- category (string: 200): Category category name.
- awb (string:20): Air air waybill number.
- unitCost (decimal:10,2): Unit Costunit cost.
- landedCost (decimal: 10,2): Unit unit landed cost.
- reference (string:100): Item item reference.
- lotNumber (integer:10): Lot lot number.
- markCode (string:20): Mark mark code or item label.
- aging (integer:20): The the amount of time (in days) the item has been in inventory.
- breakdowns: An an array of breakdowns (empty when isAssorted is false).
- assortedCompositionId (integer:20): Breakdown breakdown item idID.
- productId (integer:20): Product idproduct ID.
- productDescription (string:200): Breakdown breakdown product description.
- bunches (integer:20): Number number of bunches.
- stemsBunch (integer:20): Number number of stems per bunch.
- cost (decimal:10,2): Unit unit cost.
- price (decimal:10,2): Unit unit price.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "message": "success", "status": "1", "inventoryItems": [ { "companyProductId": 999999, "orderItemId": 9999999, "grade": "60 Cm", "productDescription": "Agapanthus Blue Crme de la Crme 60 Cm", "quantity": 85, "totalUnits": 12240, "growerId": 21738, "growerName": "Follajes La Luna", "boxTypeId": 900, "boxTypeCode": "FB", "unitType": "Stem", "bunches": 12, "unitsPerBox": 144, "stemsBunch": 12, "inventoryDate": "2014-03-02", "price": 3.01389, "sellFast": false, "isAssorted": false, "category": "Agapanthus", "awb": "131322", "unitCost": 2, "landedCost": 2.17, "reference": "text for reference", "lotNumber": "4308", "markCode": "text for mark code", "aging": 10, "breakdowns": [ { "assorteCompositionId": 9999, "productDescription": "text for product description", "productId": 99999, "bunches": 10, "stemsBunch": 12, "cost": 0.56, "price": 1.25 } ] } ] } |
...