---
title: "Changes to Update an external gateway"
method: PATCH
path: "/external_gateways/{externalGatewayId}"
---

# Changes to Update an external gateway

`PATCH /external_gateways/{externalGatewayId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 11 revisions.

- **2026-10-08** `71dbd5f83326`: 2 info
- **2026-07-13** `859097ed3fe6`: 1 breaking, 17 info

## Changes

- **2026-10-08** `71dbd5f83326`: 2 info
  - added the new optional request property `data/attributes/idempotency_window_mins`
  - added the optional property `data/attributes/idempotency_window_mins` to the response with the `200` status
- **2026-07-13** `859097ed3fe6`: 1 breaking, 17 info
  - request property `data/type` was restricted to a list of enum values
  - added the new optional request property `data/attributes/_disable`
  - added the new optional request property `data/attributes/_enable`
  - added the new optional request property `data/attributes/_regenerate_shared_secret`
  - added the new optional request property `data/attributes/_reset_circuit`
  - added the new optional request property `data/attributes/external_includes`
  - added the new optional request property `data/attributes/force_payments`
  - the request property `data/attributes/authorize_url` became nullable
  - the request property `data/attributes/capture_url` became nullable
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - the request property `data/attributes/refund_url` became nullable
  - the request property `data/attributes/token_url` became nullable
  - the request property `data/attributes/void_url` became nullable
  - the `type` request property default value `external_gateways` was removed
  - added the new `external_gateways` enum value to the request property `data/type`
  - added the media type `application/vnd.api+json` for the response with the status `200`

---

[Operation](https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/external_gateways/:externalGatewayId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/external_gateways/:externalGatewayId/patch)
