Item Sync
Use this API to create or update product master data from Excel. The payload is hierarchical: item, then SKU variants, then selling units for each SKU.
At A Glance
/v2/items/sync-data| Area | Detail |
|---|---|
| Purpose | Sync items, SKUs, and selling units. |
| Content type | application/json |
| Authentication | x-api-key request header |
| Request body | Array of item objects |
| Item grouping key | Excel No |
| SKU grouping key | Unique Size + Colour_Name combination |
Headers
Content-Type: application/json
x-api-key: YOUR_API_KEY
Request Body
The endpoint expects an array. Each item may contain multiple SKUs, and each SKU may contain multiple selling units.
- JSON Body
- cURL
[
{
"itemName": "Sample Item 1004",
"description": "Sample Item 1004",
"brandName": "Sample Brand",
"subBrandName": "Sample Sub Brand",
"categoryName": "Sample Category",
"subCategoryName": "Sample Subcategory",
"itemImageSource": "OTHERS",
"itemImageLink": ["link"],
"syncId": "ITEM-1001",
"itemLastUpdatedAt": "2026-08-03T06:41:38.654Z",
"attributes": {
"Attribute 1": "Value 1",
"Attribute 2": "Value 2"
},
"skus": []
}
]
curl --request PUT \
--url 'https://api.mulltiply.com/v2/items/sync-data' \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_API_KEY' \
--data '[{"itemName":"Sample Item 1004","description":"Sample Item 1004","brandName":"Sample Brand","subBrandName":"Sample Sub Brand","categoryName":"Sample Category","subCategoryName":"Sample Subcategory","itemImageSource":"OTHERS","itemImageLink":["link"],"syncId":"ITEM-1001","itemLastUpdatedAt":"2026-08-03T06:41:38.654Z","attributes":{"Attribute 1":"Value 1","Attribute 2":"Value 2"},"skus":[]}]'
Item Mapping
| API field | Excel source | Required | Rule |
|---|---|---|---|
itemName | Article Name | Yes | Product display name. |
description | Description | No | Product description. |
brandName | Brand | Yes | Brand name. |
subBrandName | Sub Brand | No | Sub-brand name. |
categoryName | Segment / Master Category | Yes | Product category. |
subCategoryName | Gender | No | Product sub-category. |
syncId | No | Yes | Unique item identifier. |
itemImageSource | Image source | No | Google Drive or another source. |
itemImageLink | Public image link | No | Array of image links when available. |
itemLastUpdatedAt | TBD | Yes | ISO 8601 timestamp of the last item update. |
attributes | TBD | No | Key/value pairs of additional item attributes. |
SKU Mapping
| API field | Excel source | Required | Rule |
|---|---|---|---|
skuName | Variant Description / SKU | Yes | Full SKU name. |
skuNickName | Derived | No | Item name + item code + colour code. |
sellerSKU | No + Code | No | Seller SKU. |
tags | TBD | No | Tags. |
productCode | No + Code | No | Product code. |
barCode | TBD | No | Barcode. |
hsnCode | HSNSACCode | No | HSN code. |
gst | GSTGroupCode | No | GST percentage. |
variantType1 | Static | No | Size. |
variantValue1 | Size | No | First variant value. |
variantType2 | Static | No | Colour_Name. |
variantValue2 | Colour_Name | No | Second variant value. |
syncId | No + Code | Yes | Unique SKU identifier. |
skuImageSource | Image source | No | Google Drive or another source. |
skuImageLink | Public image link | No | Array of image links when available. |
Up to 10 variant type/value pairs are allowed.
Selling Unit Mapping
| API field | Excel source | Required | Rule |
|---|---|---|---|
name | BaseUnitofMeasure or static value | Yes | Unit name, usually PAIR or CTN. Must be unique on the SKU. |
multiplier | Alternate_UOM_Per_Quantity | Yes, unless the SKU uses contains | How many base units one of this unit holds. The base unit is 1. |
contains | — | No | Alternative to multiplier. How many containsUnit one of this unit holds. See Unit Conversions. |
containsUnit | — | With contains | Name of another selling unit on the same SKU. If none has that name, an inactive unit is added for it. |
mrp | MRP | Yes | Maximum retail price. |
sellingPrice | Price_Per_Pair | Yes | Selling price. |
availableQuantity | TBD | No | Available stock if provided. |
isBaseUnit | Static | Yes, unless the SKU uses contains | true for PAIR, false for CTN. Exactly one per SKU: the smallest unit. |
isDefault | Static | Yes | true for PAIR. |
includeGST | Static | Yes | Always true. |
syncId | No + Code | Yes | Unique selling unit identifier. |
isActive | Static | Yes | false for PAIR, true for CTN. |
weight | TBD | No | Unit weight. |
weightUnit | TBD | No | Weight unit, for example G. |
length | TBD | No | Unit length. |
breadth | TBD | No | Unit breadth. |
height | TBD | No | Unit height. |
dimensionUnit | TBD | No | Dimension unit, for example CM. |
volume | TBD | No | Unit volume. |
volumeUnit | TBD | No | Volume unit, for example M3. |
inventoryLastUpdatedAt | TBD | Yes | ISO 8601 timestamp of the last inventory update. |
wlbhLastUpdatedAt | TBD | Yes | ISO 8601 timestamp of the last weight and dimension update. |
Unit Conversions
Every SKU has one base unit: its smallest unit, with multiplier 1. Every other
unit's multiplier says how many base units it holds.
| Unit | multiplier | isBaseUnit | Means |
|---|---|---|---|
PCS | 1 | true | one piece |
BOX | 12 | false | 1 box = 12 pieces |
CTN | 144 | false | 1 carton = 144 pieces |
Sending the unit you sell in as 1 (BOX multiplier 1, PCS multiplier 12) is
read as "1 piece = 12 boxes". If that's how your system thinks about units, use
contains instead (below).
Stating units with contains
Instead of a multiplier, a unit can say what it contains, in any direction that suits your data:
"sellingUnits": [
{ "name": "BOX", "contains": 12, "containsUnit": "PCS", "mrp": 120, "sellingPrice": 100, "syncId": "MG-75-BOX" },
{ "name": "PCS", "mrp": 10, "sellingPrice": 9, "syncId": "MG-75-PCS" }
]
The API works out the base unit and every multiplier from these statements. The
example above is stored as PCS ×1 (base) and BOX ×12.
- As soon as one unit on a SKU has
contains, the SKU'smultiplierandisBaseUnitvalues are not used. You can leave them out. If you send them and they differ from whatcontainssays, they are ignored and the response lists a warning. containsUnitis thenameof another unit on the same SKU. It is compared case-insensitively, so"pcs"matches"PCS".- If no unit on the SKU has that name, the API adds one. Sending only
{ "name": "CTN", "contains": 10, "containsUnit": "BOX", "mrp": 120, "sellingPrice": 105 }storesBOX×1 (base) andCTN×10. The addedBOXis inactive, since it exists for the conversion rather than for sale, and is priced fromCTN(12 / 10.5). Its sync id is<SKU syncId>-BOX. The response lists a warning for each added unit; check it for misspelt unit names. - SKUs that don't use
containswork exactly as before.
- Chain
- All to the smallest unit
- From the smaller unit
- Only the bigger unit
{ "name": "CTN", "contains": 12, "containsUnit": "BOX" },
{ "name": "BOX", "contains": 12, "containsUnit": "PCS" },
{ "name": "PCS" }
Stored as PCS ×1 (base), BOX ×12, CTN ×144.
{ "name": "CTN", "contains": 144, "containsUnit": "PCS" },
{ "name": "BOX", "contains": 12, "containsUnit": "PCS" },
{ "name": "PCS" }
Stored as PCS ×1 (base), BOX ×12, CTN ×144.
{ "name": "BOX" },
{ "name": "PACK", "contains": 0.5, "containsUnit": "BOX" }
"1 pack = half a box", so PACK is the smaller unit. Stored as PACK ×1 (base),
BOX ×2.
{ "name": "CTN", "contains": 10, "containsUnit": "BOX", "mrp": 120, "sellingPrice": 105, "syncId": "PG-CTN" }
BOX isn't sent, so it is added. Stored as BOX ×1 (base, inactive, MRP 12,
price 10.5, sync id <SKU syncId>-BOX) and CTN ×10 (active, MRP 120, price 105).
Retailers see only the carton.
Prices, stock and weight
| Field | Rule |
|---|---|
mrp, sellingPrice | Stay on the unit they are sent on. The base unit needs a price: if only a bigger unit is priced, the base price is that price divided by its multiplier, rounded to 2 decimals (BOX 100 → PCS 8.33), and the response lists a warning. A unit with no price gets base price × its multiplier |
availableQuantity | Stays on the unit it is sent on. Send stock on the smallest unit |
weight, dimensions, volume | Per base unit |
Rejected statements
A SKU whose statements can't be resolved rejects its whole item row. Other rows in the request still go through.
| Problem | Example error |
|---|---|
contains is not a positive number | SKU "Lime" > unit "BOX": contains must be a positive number |
contains without containsUnit, or the reverse | SKU "Lime" > unit "BOX": containsUnit is required with contains |
| A unit contains itself | SKU "Lime" > unit "BOX": a unit cannot contain itself |
| Two units with the same name | SKU "Lime": unit name "box" appears more than once on this SKU |
| A unit that isn't a whole number of the smallest unit | SKU "Lime" > unit "PACK": 1 PACK = 2.5 PCS, which is not a whole number of the smallest unit "PCS" |
| A unit not linked to the others | SKU "Lime": every unit has to be linked to the others by contains; these are not linked to each other: "BOX", "PCS" / "NOS" |
| Statements that disagree | SKU "Lime" > unit "BOX": contains says 1 BOX = 12 PCS, but the other units work out to 1 BOX = 8.3333 PCS |
| More than 6 units, counting added ones | SKU "Lime": a SKU can have at most 6 selling units, got 7 (with (1 added from containsUnit) when units were added) |
| No unit has a price | SKU "Lime" > base unit "PCS": mrp is required for base unit (also when the base unit was added) |
Processing Rules
- Group all Excel rows with the same
Nointo one item. - For each item, create SKUs from unique
Size+Colour_Namecombinations. - Generate
skuNickNamefrom item name, item code, and colour code. - Create a base
PAIRselling unit for each SKU. - Create an alternate
CTNselling unit when carton data is present. - If CTN MRP is blank, calculate it as base MRP multiplied by the CTN multiplier.
- If CTN selling price is blank, calculate it as base price multiplied by the CTN multiplier.
- Keep
tagsandbarCodeempty or null when no source value exists.
Normalized Final Payload
[
{
"itemName": "Sample Item 1004",
"description": "Sample Item 1004",
"brandName": "Sample Brand",
"subBrandName": "Sample Sub Brand",
"categoryName": "Sample Category",
"subCategoryName": "Sample Subcategory",
"itemImageSource": "OTHERS",
"itemImageLink": ["link"],
"syncId": "ITEM-1001",
"itemLastUpdatedAt": "2026-08-03T06:41:38.654Z",
"attributes": {
"Attribute 1": "Value 1",
"Attribute 2": "Value 2"
},
"skus": [
{
"skuName": "Sample Item 1004 Sample Color 05",
"skuNickName": "Sample Item 1004 ITEM-1001 CLR",
"sellerSKU": "ITEM-1001-SKU-05-CLR",
"tags": null,
"productCode": "ITEM-1001-SKU-05-CLR",
"barCode": null,
"hsnCode": "00000000",
"gst": 5,
"variantType1": "Size",
"variantValue1": "05",
"variantType2": "Colour_Name",
"variantValue2": "Sample Color",
"syncId": "ITEM-1001_SKU_05_CLR",
"skuImageSource": "OTHERS",
"skuImageLink": ["link"],
"sellingUnits": [
{
"name": "PAIR",
"multiplier": 1,
"mrp": 100,
"sellingPrice": 80,
"availableQuantity": 0,
"isBaseUnit": true,
"isDefault": true,
"includeGST": true,
"syncId": "ITEM-1001_SKU_05_CLR_PAIR",
"isActive": false,
"weight": 500,
"weightUnit": "G",
"length": 10,
"breadth": 10,
"height": 10,
"dimensionUnit": "CM",
"volume": 0.001,
"volumeUnit": "M3",
"inventoryLastUpdatedAt": "2026-08-03T06:52:00.641Z",
"wlbhLastUpdatedAt": "2026-08-03T06:55:17.156Z"
},
{
"name": "CTN",
"multiplier": 32,
"mrp": 1200,
"sellingPrice": 960,
"availableQuantity": 0,
"isBaseUnit": false,
"isDefault": false,
"includeGST": true,
"syncId": "ITEM-1001_SKU_05_CLR",
"isActive": true,
"weight": 500,
"weightUnit": "G",
"length": 10,
"breadth": 10,
"height": 10,
"dimensionUnit": "CM",
"volume": 0.001,
"volumeUnit": "M3",
"inventoryLastUpdatedAt": "2026-08-03T06:52:00.641Z",
"wlbhLastUpdatedAt": "2026-08-03T06:55:17.156Z"
}
]
}
]
}
]
Source Data Checklist
| Source column | Used for |
|---|---|
Article Name | itemName |
Description | description |
Brand | brandName |
Sub Brand | subBrandName |
Segment / Master Category | categoryName |
Gender | subCategoryName |
No | Item syncId |
Code | SKU and ID generation |
Variant Description | skuName |
Size | variantValue1 |
Colour_Name | variantValue2 |
HSNSACCode | hsnCode |
GSTGroupCode | gst |
MRP | Base unit MRP |
Price_Per_Pair | Base unit selling price |
Alternate_UOM_Per_Quantity | CTN multiplier |
BaseUnitofMeasure | Unit name |
Responses
Success
{
"error": false,
"status": true,
"statusCode": 200,
"responseTimestamp": "2026-03-19T07:27:45.863Z",
"data": {
"message": "All rows processed successfully"
}
}
Partial Failure
{
"error": false,
"status": true,
"statusCode": 200,
"responseTimestamp": "2026-03-19T08:20:24.166Z",
"data": {
"message": "Some rows failed",
"processedCount": 0,
"errorCount": 1,
"errors": [
{
"row": 1,
"itemName": "Item 1",
"errors": ["itemName is required"]
}
]
}
}
Warnings
When a row is accepted but something was worked out for you, for example multipliers
from contains, the response also carries warningCount and warnings (first 20).
They appear on success and partial-failure responses alike, and are absent when there
are none.
| Warning | Means |
|---|---|
… > unit "BOX": multiplier 1 ignored; worked out from contains as 12 | You sent a multiplier that disagrees with contains |
…: isBaseUnit ignored; the base unit worked out from contains is "PCS" | You flagged a different unit as the base |
… > unit "PCS": mrp worked out as 10 from unit "BOX" (120 / 12) | The base unit had no price, so it was worked out from a bigger unit (same for sellingPrice) |
… > unit "BOX": not sent; added as an inactive unit because unit "CTN" contains it | containsUnit named a unit that wasn't in the payload, so it was added. Check the name is spelt as intended |
{
"error": false,
"status": true,
"statusCode": 200,
"responseTimestamp": "2026-10-23T08:20:24.166Z",
"data": {
"message": "All rows processed successfully",
"warningCount": 1,
"warnings": [
{
"row": 1,
"itemName": "Marie Gold 75g",
"warnings": [
"SKU \"Lime\" > unit \"BOX\": multiplier 1 ignored; worked out from contains as 12",
"SKU \"Lime\" > unit \"PCS\": multiplier 12 ignored; worked out from contains as 1",
"SKU \"Lime\": isBaseUnit ignored; the base unit worked out from contains is \"PCS\""
]
}
]
}
}
Implementation Checklist
- Confirm every item row has
No,Article Name,Brand, and category data. - Confirm each SKU can be uniquely derived from
SizeandColour_Name. - Confirm MRP, price, and multiplier values are numeric before syncing.
- Confirm the base unit is the smallest unit with multiplier
1, or state units withcontains/containsUnitinstead. - Check
warningsin the response after the first sync. - Confirm SKU
syncIdvalues are unique. - Send a JSON array, even when syncing one item.