Update Item Master
Replace an item master with the supplied fields.
Read Get Item Master first and retain all required aliases and operational values in the replacement.
Behaviour
Alias codes are a full replacement: an omitted or empty array removes existing aliases.
Market cost prices are read-only.
Requires the itemMasters:write scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
^IM-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Data schema used by Create Item Master (POST /v1/item-masters). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.
^[./\\_\-\w]+$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).
Resource not found.
Conflict with the current state (e.g. the resource already exists).
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.
PUT /v1/item-masters/{itemMasterId} HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 210
{
"code": "text",
"deliveryTime": 1,
"m3": 1,
"weight": 1,
"weightUnit": "kg",
"dimensions": {
"width": 1,
"depth": 1,
"height": 1
},
"commerceId": "text",
"aliasCodes": [
{
"companyId": "text",
"companyName": "text",
"aliasCode": "text"
}
]
}{
"data": {
"itemMasterId": "IM-123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"deliveryTime": 1,
"m3": 1,
"weight": 1,
"weightUnit": "kg",
"dimensions": {
"width": 1,
"depth": 1,
"height": 1
},
"commerceId": "text",
"createdAt": "text",
"modifiedAt": "text",
"aliasCodes": [
{
"companyId": "text",
"companyName": "text",
"aliasCode": "text"
}
],
"marketCostPrices": [
{
"market": "text",
"quantity": 1,
"cost": 1,
"rrp": 1,
"modifiedAt": "text"
}
]
}
}Last updated
Was this helpful?