---
title: "Archive a batch of commerce payments by ID"
method: POST
path: "/crm/objects/2025-09/commerce_payments/batch/archive"
tags: ["Batch"]
---

# Archive a batch of commerce payments by ID

`POST /crm/objects/2025-09/commerce_payments/batch/archive`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/crm/objects/2025-09/commerce_payments/batch/archive`
- Auth: none required

Archive a batch of commerce payments by their IDs. This operation moves the specified payments to the archive, making them inactive in the system.

## Request body

- BatchInputSimplePublicObjectId: Represents a batch input payload containing a list of simple public object IDs. This component is used when performing batch operations on multiple objects within HubSpot.
  - `inputs` SimplePublicObjectId[], required: An array of simple public object IDs to be processed in the batch operation.
    - `id` string, required: The unique ID of the object.

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

- **2026-09-25** (2025-09) `a79d88755dac`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/crm-commerce-payments/changes/crm/objects/2025-09/commerce_payments/batch/archive/post.md)

---

[API](https://skmtc.dev/hubspot/apis/crm-commerce-payments.md) - [All operations](https://skmtc.dev/hubspot/apis/crm-commerce-payments/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/crm-commerce-payments/revisions/c1edf05b504a?raw)
