---
title: "update an artifact item info"
method: PUT
path: "/api/artifacts/item"
tags: ["Artifact"]
---

# update an artifact item info

`PUT /api/artifacts/item`

## Request body

- RArtifactItemRecord
  - `id` string, uuid — Id
  - `rArtifactMasterRecordId` string, uuid — parent id
  - `order` integer — Order in Collections
  - `friendlyUrl` string, nullable — Friendly Url
  - `name` string, nullable — Name
  - `nameInEnglish` string, nullable — Name In English
  - `description` string, nullable — Description
  - `descriptionInEnglish` string, nullable — Description In English
  - `coverImageIndex` integer — Main Image
  - `lastModified` string, date-time — Last Modified for caching purposes
  - `images` RPictureFile[], nullable — All Images
    - `id` string, uuid — Id
    - `originalFileName` string, nullable — Original File Name
    - `contentType` string, nullable — content type
    - `fileSizeInBytes` integer — Original Image File Size In Byte
    - `imageWidth` integer — Original Image Width
    - `imageHeight` integer — Original Image Height
    - `folderName` string, nullable — پوشه محل ذخیره تصویر
    - `storedFileName` string, nullable — نام فایل ذخیره شده با بالاترین کیفیت
    - `dataTime` string, date-time — datetime
    - `lastModified` string, date-time — Last Modified for caching purposes
    - `title` string, nullable — Title
    - `titleInEnglish` string, nullable — Title in English
    - `description` string, nullable — Description
    - `descriptionInEnglish` string, nullable — Description in English
    - `status` 0 | 1 | 2 | 4 | 8 | 16 | 32 — Items or pictures status
    - `order` integer — order in the collection it belongs to it
    - `normalSizeImageStoredFileName` string, nullable — نام فایل ذخیره شده با بالاترین کیفیت
    - `thumbnailImageStoredFileName` string, nullable — نام فایل ذخیره شده با بالاترین کیفیت
    - `normalSizeImageWidth` integer — عرض تصویر مناسب نمایش در صفحهٔ اختصاصی
    - `normalSizeImageHeight` integer — طول تصویر مناسب نمایش در صفحهٔ اختصاصی
    - `thumbnailImageWidth` integer — عرض تصویر با اندازه مناسب نمایش در صفحات لیستی
    - `thumbnailImageHeight` integer — طول تصویر با اندازه مناسب نمایش در صفحات لیستی
    - `srcUrl` string, nullable — source url
    - `lastModifiedMeta` string, date-time — Last Modified for caching purposes
    - `externalNormalSizeImageUrl` string, nullable — url to access this image from THE external host, contains '/norm/' which when you replace it with '/thumb/' you would have ExternalThumbnailImageUrl and if you replace it with '/orig/' you would have a url for ExternalOriginalSizeImageUrl which MIGHT NOT EXIST and end in a 404 error
  - `tags` RTagValue[], nullable — Attributes
    - `id` string, uuid — Id
    - `rTagId` string, uuid
    - `rTag` RTag — Item Attribute
      - `id` string, uuid — Id
      - `order` integer — Order
      - `tagType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 — نوع ویژگی
      - `friendlyUrl` string, nullable — Friendly Url
      - `status` 0 | 1 | 2 | 4 | 8 | 16 | 32 — Items or pictures status
      - `name` string, nullable — Name
      - `nameInEnglish` string, nullable — Name In English
      - `pluralName` string, nullable — Plural Name
      - `pluralNameInEnglish` string, nullable — Plural Name In English
      - `globalValue` boolean — Value is normally changed globally
    - `order` integer
    - `friendlyUrl` string, nullable — Friendly Url
    - `status` 0 | 1 | 2 | 4 | 8 | 16 | 32 — Items or pictures status
    - `value` string, nullable — Value
    - `valueInEnglish` string, nullable — Values In English
    - `valueSupplement` string, nullable — link or ....

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.net/ganjoor/apis/rmuseum-api.md) · [All operations](https://skmtc.net/ganjoor/apis/rmuseum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ganjoor/rmuseum-api/versions/bb8e104d36d2/schema)
