---
title: "Create a batch of product reservation prices"
method: POST
path: "/product-reservation-prices/batch"
tags: ["Product reservation prices"]
---

# Create a batch of product reservation prices

`POST /product-reservation-prices/batch`

Batch process helps to add and synchronize multiple product reservation prices in one request.
⚠️ If a product reservation price already exists, an update is applied. Missing parameters in update will be ignored and will not change. Erasing values is not possible here.
⚠️ Adjust batch sizes based on processing times. We recommended use maximum amount of 1000 records and adjust the batch size based on processing time.
⚠️ Endpoint is available only in the Enterprise interface.

## Headers

- `Accept-Language` string

## Request body

- object
  - `product_reservation_prices` ProductReservationPrice[], required — List of the product reservation prices.
    - `product_reservation_price_id` string — The unique ID of the product reservation price.
    - `reservable_product_id` string — The unique ID of the reservable product. This represents relation in between price and product. Required if `plu_ids` is not set. [GET /reservable-products](https://carecloud.readme.io/reference/getreservableproducts)
    - `plu_ids` PluId[] — An array of all available pluIDs from the particular product lists (default is Product ID from Global product list (consist cleaned data - unique ID of every product across all POS systems)). This is an alternative to `reservable_product_id`. It will accept only products that could be reserved. Required if `reservable_product_id` is not set.
      - `list_code` string, required — Code of the particular product list (basic is code of Global product list (consist cleaned data - unique ID of every product across all POS systems)). For example, “GLOBAL”, “SKU”, “PLU”, etc.
      - `code` string, required — Code of product from the product list (basic is Product ID from Global product list (consist cleaned data - unique ID of every product across all POS systems)).
    - `value` number, float, required — Value of a price for store and currency.
    - `currency_id` string, required — ID of the currency. If total_price is set, then currency_id is mandatory. [GET /currencies](https://carecloud.readme.io/reference/getcurrencies)
    - `store_id` string — The unique ID of the store tied to the product reservation price. Prices of product can vary depending on the store. [GET /stores](https://carecloud.readme.io/reference/getstores)
    - `last_change` string — Date and time of the last change. *(YYYY-MM-DD HH:MM:SS)*
    - `state` 0 | 1 | 2 — State of the product reservation. *Possible values are: 0 - deleted / 1 - active *
  - `error_processing` 1 | 2 — The parameter describes the batch method behavior in case of error occurs. *Possible values are: 1 - It returns the first error found and rollback all previous changes (this is also the default behavior if the parameter is not set) / 2 - It creates all valid records and creates an error report from failed attempts.*

## Response `204`

No Content

## Other responses

- `400` — Bad input parameter. The response body's `error.error_data.invalid_params[]` array lists the parameters that caused the failure, each carrying a `reason` code. See the `BadRequestErrorBody` schema for the generic reason taxonomy. Operations with domain-specific business rules document additional reasons at the operation level.
- `401` — The client has invalid credentials or auth token.
- `403` — The client does not exist or the client tried to access an unauthorized property or resource.
- `404` — The resource was not found.
- `405` — The resource does not support the specified HTTP method.
- `429` — Too many requests - more than the resource limit.
- `500` — Server is not working as expected.
- `503` — Temporary state when the service is temporarily unavailable, overloaded or there is a maintenance window.

---

[API](https://skmtc.net/crmcarecloud/apis/rest-api-reference.md) · [All operations](https://skmtc.net/crmcarecloud/apis/rest-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crmcarecloud/rest-api-reference/versions/329c06dbf8d9/schema)
