---
title: "Merchants:UpdatePackage"
method: PATCH
path: "/merchants/{merchantCode}/package"
tags: ["Merchants"]
---

# Merchants:UpdatePackage

`PATCH /merchants/{merchantCode}/package`

Update the package. If a merchantCode is supplied then you need to have access to that merchant. You need to authenticate with an AT-code as username and the corresponding token as password.

## Path parameters

- `merchantCode` Code, required — unresolved $ref

## Request body

- object
  - `referralProfileCode` string, required

## Response `204`

No content.

## Other responses

- `400` — Bad request, see response body for more information
- `401` — Unauthorized. Supplied credentials are invalid
- `403` — Forbidden. Supplied credentials have no rights
- `404` — Resource not found
- `405` — Used HTTP method is not allowed
- `406` — Not acceptable. The supplied content type in the accept parameter in the header is not supported
- `422` — Unprocessable entity, see response body for more information
- `429` — Rate limit reached.
- `500` — An internal error occurred

---

[API](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api.md) · [All operations](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pay/pay-transaction-gateway-unit-api/revisions/2bc260c7bdfc/schema)
