---
title: "Bulk Update Achievement"
method: PATCH
path: "/v1/achievements"
tags: ["Achievements"]
---

# Bulk Update Achievement

`PATCH /v1/achievements`

Updates multiple store items.

## Request body

- AchievementBulkUpdate[]
  - `name` string — The name of the achievement
  - `description` string — The description of the achievement
  - `image_url` string, uri — The URL of the image for the achievement
  - `type` union — The type of the achievement
    - 'first_visit' | 'first_purchase' | 'regular_visit'
    - string
  - `position` integer — The position of the achievement in the list
  - `id` string, required — The unique identifier of the achievement

## Response `200`

Successful Response

- AchievementRead[]
  - `name` string, required — The name of the achievement
  - `description` string, required — The description of the achievement
  - `image_url` string, uri, required — The URL of the image for the achievement
  - `type` union, required — The type of the achievement
    - 'first_visit' | 'first_purchase' | 'regular_visit'
    - string
  - `position` integer, required — The position of the achievement in the list
  - `id` string, required — The unique identifier of the achievement

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api.md) · [All operations](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aghanim/aghanim-server-to-server-api/versions/6402c25762c8/schema)
