---
title: "Changes to Obtener orden de compra por ID"
method: GET
path: "/api/v1/purchase-orders/{purchase_order_id}"
---

# Changes to Obtener orden de compra por ID

`GET /api/v1/purchase-orders/{purchase_order_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-11-03** `ed0d46e68fbe`: 5 breaking, 14 info

## Changes

- **2026-11-03** `ed0d46e68fbe`: 5 breaking, 14 info
  - the response property `data/formatted_order_number` became nullable for the status `200`
  - the response property `data/items/items/ordered_quantity` became nullable for the status `200`
  - the response property `data/items/items/product/sku` became nullable for the status `200`
  - the response property `data/notes` became nullable for the status `200`
  - response property `data/warehouse_id` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - 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 `429` status
  - added the optional property `error/details/items/metadata` to the response with the `500` status
  - added `#/components/schemas/ApiSharedObjectfaafd59b8b` to the `data/supplier` response property `anyOf` list for the response status `200`
  - removed `#/components/schemas/ApiSharedObjectaa12edb924` from the `data/supplier` response property `anyOf` list for the response status `200`
  - response property `data/formatted_order_number` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/items/items/product/sku` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/notes` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - added 'propertyNames' constraint to the `data/items/items/product/variant_options/anyOf[subschema #1]/` response property for the status `200`
  - added the required property `data/tags` to the response with the `200` status

---

[Operation](https://skmtc.dev/lapyme/apis/la-pyme-api/docs/api/v1/purchase-orders/:purchase_order_id/get.md) - [API](https://skmtc.dev/lapyme/apis/la-pyme-api.md) - [Page](https://skmtc.dev/lapyme/apis/la-pyme-api/changes/api/v1/purchase-orders/:purchase_order_id/get)
