---
title: "POST /orders/batch-add-to-order"
method: POST
path: "/orders/batch-add-to-order"
tags: ["Orders"]
---

# POST /orders/batch-add-to-order

`POST /orders/batch-add-to-order`

Charge products to existing orders in bulk. Every product provided will be charged to every order provided, using the payment method already on each order. Charges are processed asynchronously and large batches may take several minutes to complete. A 202 response returns a batch_id that can be polled with the batch status endpoint to see the outcome of each charge.

## Request body

- object
  - `order_ids` integer[], required — The IDs of the orders to charge. Maximum of 5000 orders per request.
  - `product_ids` integer[], required — The IDs of the products to add to each order. Maximum of 25 products per request.

## Response `202`

Request accepted. Charges will be processed asynchronously. Poll the returned batch_id for results.

## Other responses

- `404` — One or more orders or products could not be found
- `422` — Validation error

---

[API](https://skmtc.dev/samcart/apis/samcart-public-api.md) · [All operations](https://skmtc.dev/samcart/apis/samcart-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/samcart/samcart-public-api/revisions/80296f7a00d0/schema)
