---
title: "Changes to Crear movimiento de stock"
method: POST
path: "/api/v1/stock-movements"
---

# Changes to Crear movimiento de stock

`POST /api/v1/stock-movements`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-11-03** `ed0d46e68fbe`: 4 breaking, 4 warning, 10 info

## Changes

- **2026-11-03** `ed0d46e68fbe`: 4 breaking, 4 warning, 10 info
  - for the `header` request parameter `Idempotency-Key`, the minLength was increased from `0` to `1`
  - for the `header` request parameter `X-Request-Id`, the minLength was increased from `0` to `1`
  - the `reason` request property's minLength was increased from `0` to `1`
  - the `operation_date` request property type changed from `string` to no type, and format from `date-time` to no format
  - for the `header` request parameter `Idempotency-Key`, the maxLength was set to `255`
  - for the `header` request parameter `X-Request-Id`, the maxLength was set to `255`
  - the `notes` request property's maxLength was set to `2000`
  - the `reason` request property's maxLength was set to `200`
  - added the new optional request property `items/items/expected_quantity`
  - added `subschema #1, subschema #2` to the `operation_date` request property `anyOf` list
  - added the non-success response with the status `503`
  - added the optional property `error/details/items/metadata` to the response with the `400` status
  - added the optional property `error/details/items/metadata` to the response with the `401` status
  - added the optional property `error/details/items/metadata` to the response with the `403` status
  - added the optional property `error/details/items/metadata` to the response with the `404` status
  - added the optional property `error/details/items/metadata` to the response with the `409` status
  - added the optional property `error/details/items/metadata` to the response with the `429` status
  - added the optional property `error/details/items/metadata` to the response with the `500` status

---

[Operation](https://skmtc.dev/lapyme/apis/la-pyme-api/docs/api/v1/stock-movements/post.md) - [API](https://skmtc.dev/lapyme/apis/la-pyme-api.md) - [Page](https://skmtc.dev/lapyme/apis/la-pyme-api/changes/api/v1/stock-movements/post)
