---
title: "PUT /api/app/mobile-contents/{id}"
method: PUT
path: "/api/app/mobile-contents/{id}"
tags: ["MobileContents"]
---

# PUT /api/app/mobile-contents/{id}

`PUT /api/app/mobile-contents/{id}`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/app/mobile-contents/{id}`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Path parameters

- `id` string, uuid, required

## Request body

- KhaasFoodMobileContentsDTOsMobileContentUpdateInputDto
  - `name` string, nullable
  - `contentType` 0 | 1 | 2 | 3
  - `displayOrder` integer
  - `isFixedContent` boolean
  - `active` boolean
  - `link` string, nullable
  - `isAvailableOnApp` boolean
  - `isAvailableOnWeb` boolean
  - `contentItems` KhaasFoodMobileContentsDTOsMobileContentItemCreateUpdateInputDto[], nullable
    - `id` string, uuid
    - `displayOrder` integer
    - `active` boolean
    - `content` string, nullable
    - `isShowOnHomePage` boolean
    - `referenceId` string, uuid, nullable
    - `referenceType` 0 | 1 | 2 | 3 | 4
    - `imageAlt` string, nullable
    - `imageTitle` string, nullable
    - `imageCaption` string, nullable
    - `imageDescription` string, nullable

## Response `200`

Success

- KhaasFoodMobileContentsDTOsMobileContentDto
  - `id` string, uuid
  - `creationTime` string, date-time
  - `creatorId` string, uuid, nullable
  - `lastModificationTime` string, date-time, nullable
  - `lastModifierId` string, uuid, nullable
  - `isDeleted` boolean
  - `deleterId` string, uuid, nullable
  - `deletionTime` string, date-time, nullable
  - `name` string, nullable
  - `contentType` 0 | 1 | 2 | 3
  - `displayOrder` integer
  - `isFixedContent` boolean
  - `active` boolean
  - `link` string, nullable
  - `isAvailableOnApp` boolean
  - `isAvailableOnWeb` boolean
  - `contentItems` KhaasFoodMobileContentsDTOsMobileContentItemDto[], nullable
    - `id` string, uuid
    - `creationTime` string, date-time
    - `creatorId` string, uuid, nullable
    - `lastModificationTime` string, date-time, nullable
    - `lastModifierId` string, uuid, nullable
    - `isDeleted` boolean
    - `deleterId` string, uuid, nullable
    - `deletionTime` string, date-time, nullable
    - `active` boolean
    - `isShowOnHomePage` boolean
    - `content` string, nullable
    - `displayOrder` integer
    - `mobileContentId` string, uuid
    - `referenceId` string, uuid, nullable
    - `referenceType` 0 | 1 | 2 | 3 | 4
    - `mobileContentName` string, nullable
    - `imageAlt` string, nullable
    - `imageTitle` string, nullable
    - `imageCaption` string, nullable
    - `imageDescription` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
