---
title: "Update pickup group"
method: PATCH
path: "/v2/partition/{partitionId}/account/{accountId}/grouppickup/{pickupGroupId}"
tags: ["Pickup Group"]
---

# Update pickup group

`PATCH /v2/partition/{partitionId}/account/{accountId}/grouppickup/{pickupGroupId}`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/account/{accountId}/grouppickup/{pickupGroupId}`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/account/:accountId/grouppickup/:pickupGroupId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Use to update a pickup group. <span hidden>Refer <a href="callGroups.html#patch-pickup-groups">here</a> for more details.</span>

## Path parameters

- `accountId` string, required
- `partitionId` string, required
- `pickupGroupId` string, required

## Request body

- object: Json containing the fragment of the pickup group object to be updated.

## Response `200`

Successful operation

- PickupGroupX
  - `partitionId` string
  - `accountId` string
  - `id` string
  - `name` string
  - `groupIds` string[]

## Other responses

- `400`: Invalid pickup group fragment, invalid accountId in path.
- `401`: Unauthorized
- `404`: Partition Id or Pickup Group Id not found

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
