Rentman icon

Rentman

Interact with the Rentman rental management API

Actions206

Stock Movement → Get

AI-generated

Summary

Retrieve a single stock movement record by its ID, optionally expanding linked fields inline in the response.

Inputs

  • Stock Movement ID (required) — The unique identifier of the stock movement to retrieve.
  • Expand — A comma-separated list of linkable fields to inline in the response instead of returning a path. Supports dot notation for nested expansion up to 3 levels (e.g., equipment,equipment.creator). Only item/link fields can be expanded.

Output shape

A single stock movement object with all its fields, optionally including expanded linked objects as specified by the Expand parameter.

If expansion fields are provided, the response includes those related entities inline up to three nested levels. The operation returns an error if the Stock Movement ID is invalid or not found.

Examples

Example 1: Get a stock movement by ID including expanded equipment and its creator

Stock Movement ID set to 12345, Expand set to "equipment,equipment.creator"

Links

Discussion