Bulk upsert Item Masters
Create or upsert up to 1000 item masters.
Use this for a batch of ERP item records. A successful request can still report rows that were skipped or rejected.
Behaviour
CREATE skips existing codes, while UPSERT updates them.
Alias codes are not accepted in bulk; inspect skippedCodes, invalidCodes, and the optional errors report.
Requires the itemMasters:write scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
Data schema used by Bulk upsert Item Masters (POST /v1/item-masters:bulk). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.
CREATEPossible values: Successful response.
Invalid request data.
Missing or invalid API key.
The API key lacks the required scope (scope_denied), or the operation is not permitted for this account (operation_not_permitted).
The API key exceeded its request rate (rate_limit_exceeded) or its monthly quota (quota_exceeded). Both carry Retry-After; the RateLimit-* headers accompany rate_limit_exceeded only, since a spent quota says nothing about the bucket.
Internal server error.
POST /v1/item-masters:bulk HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 162
{
"mode": "CREATE",
"items": [
{
"code": "text",
"deliveryTime": 1,
"m3": 1,
"weight": 1,
"weightUnit": "kg",
"dimensions": {
"width": 1,
"depth": 1,
"height": 1
},
"commerceId": "text"
}
]
}{
"data": {
"existingCount": 1,
"added": 1,
"updated": 1,
"processed": 1,
"skippedCodes": [
"text"
],
"invalidCodes": [
"text"
],
"errorsFileUrl": "text"
}
}Last updated
Was this helpful?