---
title: "Reassign a retired price list item"
method: POST
path: "/companies/{company}/price-lists/{priceList}/items/{item}/reassign"
tags: ["Price Lists"]
---

# Reassign a retired price list item

`POST /companies/{company}/price-lists/{priceList}/items/{item}/reassign`

## Request

- Base URL: `https://api.factuarea.com/v1`
- URL: `https://api.factuarea.com/v1/companies/{company}/price-lists/{priceList}/items/{item}/reassign`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Create a NEW active price entry from a retired one, pointing at a live catalog target with a confirmed price.
- Not a restore: the retired entry keeps its history; the response carries the new entry with its own `id`.
- Rejected if the live target already has an active price in this list.

## Path parameters

- `company` string, uuid, required
- `priceList` string, uuid, required
- `item` string, uuid, required

## Headers

- `Idempotency-Key` string
- `Factuarea-Version` string, date

## Request body

- ReassignRetiredPriceListItemRequest
  - `id` string, uuid
  - `product_id` string, uuid, required
  - `variant_id` string, uuid, nullable
  - `presentation_id` string, uuid, nullable
  - `configuration_id` string, uuid, nullable
  - `selection_signature` string, nullable
  - `unit_price` number, required
  - `price_unit` 'C62' | 'KGM' | 'GRM' | 'LTR' | 'MLT' | 'MTR' | 'MTK' | 'HUR' | 'DAY' | 'H87' | 'XPK' | 'XBX' | 'XDS' | 'XBG' | 'XBO' | 'XDJ' | 'XCA' | 'XTB' | 'XCI' | 'XJY' | 'XEN' | 'XCS', required

## Response `201`

- object
  - `data` PriceListItem, required: A price entry of a price list. Listing endpoints accept `?search=`, which filters and paginates server-side over the visible names of the target: product, variant, presentation, commercial combination and option values.
    - `id` string, uuid, required
    - `object` 'price_list_item', required
    - `price_list_id` string, uuid, required
    - `product_id` string, uuid, required
    - `variant_id` string, uuid, nullable, required
    - `presentation_id` string, uuid, nullable, required
    - `configuration_id` string, uuid, nullable, required: The stored commercial combination the entry is priced for. `null` when the entry targets the legacy product/variant/presentation crossing or a selection signature: the three ways of naming a target are mutually exclusive. On a withdrawn entry it is read from the frozen snapshot, never from the live catalog.
    - `selection_signature` string, nullable, required: Canonical 64-hex signature of the normalized selection the entry is priced for, when it targets the selection itself instead of a stored combination. `null` otherwise. On a withdrawn entry it is read from the frozen snapshot, never from the live catalog.
    - `product_name` string, required
    - `variant_name` string, nullable, required
    - `presentation_name` string, nullable, required
    - `unit_price` string, required
    - `currency` string, required
    - `price_unit` string, required
    - `status` 'active' | 'retired', required: Lifecycle of the entry. `retired` means a confirmed catalog deletion withdrew it: it keeps its price as history, is excluded from price resolution, client assignment and every statistic, and is never reactivated.
    - `retirement_reason` 'product_deleted' | 'variant_deleted' | 'presentation_deleted' | 'configuration_deleted' | 'option_group_deleted' | 'option_value_deleted' | 'legacy_orphan' | 'product_replaced' | 'null', nullable, required: Why the entry was withdrawn. `product_replaced` means the product was replaced by another one with a different base unit (`POST /v1/companies/{company}/products/{product}/base-unit-replacement`): the entry keeps its price as history and, when it was transferred, a new entry for the new product carries the converted price. `null` while the entry is active.
    - `retirement_reason_label` string, nullable, required: Human-readable label of `retirement_reason`, in Spanish. `null` while the entry is active.
    - `retired_at` string, date-time, nullable, required
    - `retired_target_snapshot` RetiredPriceListTarget, required: Frozen description of the catalog target a withdrawn price entry pointed at.
      - `product_id` string, uuid, required
      - `product_name` string, required
      - `variant_id` string, uuid, nullable, required
      - `variant_name` string, nullable, required
      - `presentation_id` string, uuid, nullable, required
      - `presentation_name` string, nullable, required
      - `configuration_id` string, uuid, nullable, required
      - `configuration_name` string, nullable, required
      - `selection_signature` string, nullable, required: Canonical 64-hex signature when the entry targeted a normalized selection instead of a stored combination.
      - `options` object[], required
        - `group_id` string, uuid, nullable, required
        - `group_name` string, nullable, required
        - `value_id` string, uuid, required
        - `value_name` string, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `400`: `parameter_unknown` with `subcode` `retired_active_profile_header`: the retired `X-Active-Profile` header was sent; the company goes in the path. `parameter_invalid_format` on `Factuarea-Version`: the header is not a `YYYY-MM-DD` date. `unsupported_api_version`: the `Factuarea-Version` date is not a supported version.
- `401`: Missing or invalid API key.
- `403`: The request is authenticated but not allowed: the API key lacks the required scope (`insufficient_scope`), the plan does not include the public API or this feature (`addon_not_active`, `feature_not_available_in_plan`), or the module is not available with a test key (`module_not_available_in_sandbox`).
- `404`: The requested resource does not exist or belongs to another company.
- `422`: Validation failed. The `error.param` field identifies which input is invalid.
- `429`: Rate limit exceeded. Retry after the duration in `Retry-After`.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/factuarea/apis/factuarea-public-api.md) · [All operations](https://skmtc.dev/factuarea/apis/factuarea-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/factuarea/apis/factuarea-public-api/revisions/718e77934422?raw)
