Move inventory event

Move inventory events start whenever you move the inventory from one location to another in the Store Inventory Management. The code for this event is moveInventory.

Creating a move inventory event

The following sample JSON illustrates the published event. The application encodes and adds the event data to messages[].data JSON path.

{ 
  "messages": [ 
    { 
      "data": { 
        "storeId": "BOSTON-1", 
        "adjustmentType": "MOVE", 
        "adjustmentReason": "Reason of the move inventory", 
        "reservationReference": "de1b-47f9-97a6", 
        "reservationId": "res-123", 
        "orderNo": "Order-1001", 
        "shipmentNo": "SH-0989", 
        "performedByUserId": "John", 
        "receiptNo": "", 
        "references": {}, 
        "adjustments": [ 
          { 
            "productId": "HP1", 
            "unitOfMeasure": "EACH", 
            "inventoryStatus": "GOOD", 
            "productClass": "A", 
            "segmentType": "", 
            "segment": "", 
            "tagNo": "Tag11", 
            "batchNo": "Batch11", 
            "lotNo": "Lot11", 
            "manufacturedDate": "2018-09-17T14:56:51.151Z", 
            "serials": [ 
              "SER-0002" 
            ], 
            "adjustmentQuantity": -1.0, 
            "quantity": 0.0, 
            "locationId": "L1", 
            "additionalAttributes": null 
          }, 
          { 
            "productId": "HP1", 
            "unitOfMeasure": "EACH", 
            "inventoryStatus": "GOOD", 
            "productClass": "A", 
            "segmentType": "", 
            "segment": "", 
            "tagNo": "Tag11", 
            "batchNo": "Batch11", 
            "lotNo": "Lot11", 
            "manufacturedDate": "2018-09-17T14:56:51.151Z", 
            "serials": [ 
              "SER-0002" 
            ], 
            "adjustmentQuantity": 1.0, 
            "quantity": 1.0, 
            "locationId": "L2", 
            "additionalAttributes": { 
              "AdditionalProp4": "Value4", 
              "AdditionalProp5": "Value5" 
            } 
          } 
        ] 
      }, 
      "attributes": { 
        "eventCode": "moveInventory", 
        "timestamp": "2025-10-10T10:34:49.997304Z", 
        "messageId": "7ce9bfaa-87c2-4957-8332-f0b9cf0f1c5a" 
      } 
    } 
  ] 
}

The following sample illustrates the JSON schema specification that defines the structure of JSON data that is published to the moveInventory event.

{ 
  "title": "Move Inventory event message", 
  "type": "object", 
  "description": "Indicates the message payload published for Move Inventory event.", 
  "properties": { 
    "messages": { 
      "type": "array", 
      "description": "", 
      "items": { 
        "type": "object", 
        "description": "Indicates the event data published in the message.", 
        "properties": { 
          "data": { 
            "type": "object", 
            "description": "", 
            "properties": { 
              "storeId": { 
                "type": "string", 
                "description": "The store identifier" 
              }, 
              "adjustmentType": { 
                "type": "string", 
                "description": "Indicates type of adjustment operation. Allowed value - MOVE" 
              }, 
              "adjustmentReason": { 
                "type": "string", 
                "description": "move inventory reason" 
              }, 
              "reservationReference": { 
                "type": "string", 
                "description": "Reference to the reservations obtained for the inventory" 
              }, 
              "reservationId": { 
                "type": "string", 
                "description": "The reservation Identifier" 
              }, 
              "orderNo": { 
                "type": "string", 
                "description": "The order Identifier" 
              }, 
              "shipmentNo": { 
                "type": "string", 
                "description": "The shipment Identifier" 
              }, 
              "receiptNo": { 
                "type": "string", 
                "description": "The receipt Identifier" 
              }, 
              "performedByUserId": { 
                "type": "string", 
                "description": "User Id who has performed the inventory adjustment." 
              }, 
              "references": { 
                "type": "object", 
                "description": "Holds key-value pair of type string", 
                "patternProperties": { 
                  "^.*$": { 
                    "type": "string" 
                  } 
                }, 
                "additionalProperties": { 
                  "type": "string" 
                } 
              }, 
              "adjustments": { 
                "type": "array", 
                "description": "", 
                "items": { 
                  "type": "object", 
                  "description": "", 
                  "properties": { 
                    "productId": { 
                      "type": "string", 
                      "description": "The product identifier" 
                    }, 
                    "unitOfMeasure": { 
                      "type": "string", 
                      "description": "The unit of measure for the product" 
                    }, 
                    "productClass": { 
                      "type": "string", 
                      "description": "The product class of the product" 
                    }, 
                    "inventoryStatus": { 
                      "type": "string", 
                      "description": "Indicates the inventory status" 
                    }, 
                    "segmentType": { 
                      "type": "string", 
                      "description": "Indicates the segment type" 
                    }, 
                    "segment": { 
                      "type": "string", 
                      "description": "Indicates the segment" 
                    }, 
                    "tagNo": { 
                      "type": "string", 
                      "description": "Indicates the tag number" 
                    }, 
                    "batchNo": { 
                      "type": "string", 
                      "description": "Indicates the batch number" 
                    }, 
                    "lotNo": { 
                      "type": "string", 
                      "description": "Indicates the lot number" 
                    }, 
                    "manufacturedDate": { 
                      "type": "string", 
                      "description": "Indicates the manufacturing date of the product" 
                    }, 
                    "serials": { 
                      "type": "array", 
                      "description": "Indicates list of serial numbers adjusted", 
                      "items": { 
                        "type": "string" 
                      } 
                    }, 
                    "adjustmentQuantity": { 
                      "type": "number", 
                      "format": "double", 
                      "description": "The item quantity adjusted to the inventory" 
                    }, 
                    "quantity": { 
                      "type": "number", 
                      "format": "double", 
                      "description": "The total item quantity available at the location after adjusting the inventory" 
                    }, 
                    "locationId": { 
                      "type": "string", 
                      "description": "The location identifier for the store" 
                    }, 
                    "additionalAttributes": { 
                      "type": "object", 
                      "properties": { 
                        "name": { 
                          "type": "string", 
                          "description": "Indicates attribute key" 
                        }, 
                        "value": { 
                          "type": "string", 
                          "description": "Indicates attribute value" 
                        } 
                      } 
                    } 
                  } 
                } 
              } 
            } 
          }, 
          "attributes": { 
            "type": "object", 
            "description": "", 
            "properties": { 
              "eventCode": { 
                "type": "string", 
                "description": "Indicates the event code of the message." 
              }, 
              "timestamp": { 
                "type": "string", 
                "format": "date-time", 
                "description": "Indicates the time when the message was triggered." 
              }, 
              "messageId": { 
                "type": "string", 
                "format": "uuid", 
                "description": "Indicates the message identifier." 
              } 
            } 
          } 
        } 
      } 
    } 
  } 
}