Download OpenAPI specification:Download
This endpoint allows you to create a new master product in the system. Supply all required fields, including barcode type id, barcode number, vendor product code etc. When all fields are populated it creates the Single Unit Product, Inner Pack Product, Outer Pack / Master Product & Pallet Product. A successful operation returns the created product id with a list of ids for each hierarchy level as well.
Product object that needs to be added to the system
object (MainDetails) | |
object (Unit) | |
object (Inner) | |
object (Master) | |
object (Pallet) |
[- {
- "mainDetails": {
- "title": "Koo Creamstyle Corn",
- "shortDescription": "Koo creamy corn in a can",
- "vendorProductCode": "SKU-000125",
- "longDescription": "Koo creamy corn in a can, can be used to prepare hearty home cooked meals",
- "shelfLife": "30 days",
- "isVATApplicable": true,
- "rspInclusive": 30,
- "listPriceInclusive": 35,
- "listPriceExclusive": 25,
- "releaseDate": "1999-01-01"
}, - "unit": {
- "barcodeTypeId": "NyL2q",
- "barcodeNumber": "012345678905",
- "size": "500 g",
- "grossWeight": 0.7,
- "netWeight": 0.5,
- "length": 0.1,
- "width": 0.2,
- "height": 0.3,
- "tare": 0.5,
- "isSellableUnit": true,
- "isOrderablePack": true
}, - "inner": {
- "barcodeTypeId": "NyL2q",
- "barcodeNumber": "012345678905",
- "quantity": 6,
- "isRepack": true,
- "isOrderablePack": true,
- "isSellableUnit": true,
- "tare": 0.1,
- "height": 0.1,
- "width": 0.1,
- "length": 0.1,
- "netWeight": 0.1,
- "grossWeight": 0.1
}, - "master": {
- "barcodeTypeId": "NyL2q",
- "barcodeNumber": "012345678905",
- "quantity": 12,
- "isRepack": true,
- "isOrderableUnit": true,
- "isSellableunit": true,
- "tare": 0.1,
- "height": 0.1,
- "width": 0.1,
- "length": 0.1,
- "netWeight": 0.1,
- "grossWeight": 0.1
}, - "pallet": {
- "barcodeTypeId": "NyL2q",
- "barcodeNumber": "012345678905",
- "layerPerPallet": 10,
- "casesPerLayer": 5,
- "isRepack": true,
- "isOrderableUnit": true,
- "isSellableunit": true,
- "tare": 0.1,
- "height": 0.1,
- "width": 0.1,
- "length": 0.1,
- "netWeight": 0.1,
- "grossWeight": 0.1
}
}
]"NBj90"This endpoint allows you to create a new variant product in the system.Supply the masterProductId of the master product you would like to link to this product as well as all required fields, including barcode type id, barcode number, vendor product code etc. When all fields are populated it creates the Single Unit Product, Inner Pack Product, Outer Pack / Master Product & Pallet Product. A successful operation returns the created product id with a list of ids for each hierarchy level as well.
Product object that needs to be added to the system
| masterProductId | string This is the ID of the Master Product record will be linked to this Product creating a Variant of that Master Product. A Master Product is the first instance of a specific product and you can think of it as a parent record of that product line |
object (MainDetails) | |
object (Unit) | |
object (Inner) | |
object (Master) | |
object (Pallet) |
[- {
- "masterProductId": "NBj90",
- "mainDetails": {
- "title": "Koo Creamstyle Corn",
- "shortDescription": "Koo creamy corn in a can",
- "vendorProductCode": "SKU-000125",
- "longDescription": "Koo creamy corn in a can, can be used to prepare hearty home cooked meals",
- "shelfLife": "30 days",
- "isVATApplicable": true,
- "rspInclusive": 30,
- "listPriceInclusive": 35,
- "listPriceExclusive": 25,
- "releaseDate": "1999-01-01"
}, - "unit": {
- "barcodeTypeId": "NyL2q",
- "barcodeNumber": "012345678905",
- "size": "500 g",
- "grossWeight": 0.7,
- "netWeight": 0.5,
- "length": 0.1,
- "width": 0.2,
- "height": 0.3,
- "tare": 0.5,
- "isSellableUnit": true,
- "isOrderablePack": true
}, - "inner": {
- "barcodeTypeId": "NyL2q",
- "barcodeNumber": "012345678905",
- "quantity": 6,
- "isRepack": true,
- "isOrderablePack": true,
- "isSellableUnit": true,
- "tare": 0.1,
- "height": 0.1,
- "width": 0.1,
- "length": 0.1,
- "netWeight": 0.1,
- "grossWeight": 0.1
}, - "master": {
- "barcodeTypeId": "NyL2q",
- "barcodeNumber": "012345678905",
- "quantity": 12,
- "isRepack": true,
- "isOrderableUnit": true,
- "isSellableunit": true,
- "tare": 0.1,
- "height": 0.1,
- "width": 0.1,
- "length": 0.1,
- "netWeight": 0.1,
- "grossWeight": 0.1
}, - "pallet": {
- "barcodeTypeId": "NyL2q",
- "barcodeNumber": "012345678905",
- "layerPerPallet": 10,
- "casesPerLayer": 5,
- "isRepack": true,
- "isOrderableUnit": true,
- "isSellableunit": true,
- "tare": 0.1,
- "height": 0.1,
- "width": 0.1,
- "length": 0.1,
- "netWeight": 0.1,
- "grossWeight": 0.1
}
}
]"NBj90"This endpoint allows you to check the progress of the Master or Variant Products that have been created by the system. You get an ID back from either the Master/CREATE endpoint or Variant/CREATE endpoint then use that ID to check what products have been created.
| integrationId required | string Example: KlM89 This is the ID you got from either Master/CREATE or Variant/CREATE |
[- {
- "integrationId": "NBj90",
- "title": "Koo Baked Beans",
- "productId": "kLi89",
- "productType": "Jau76"
}
]