---
title: "category.delete.batch"
method: POST
path: "/category.delete.batch.json"
tags: ["category"]
---

# category.delete.batch

`POST /category.delete.batch.json`

## Request

- Base URL: `https://api.api2cart.com/v1.1`
- URL: `https://api.api2cart.com/v1.1/category.delete.batch.json`
- Auth: API key in header `x-api-key` and API key in header `x-store-key`

Delete categories from the store.

## Request body

- CategoryDeleteBatch
  - `payload` object[], required: Contains an array of category IDs to delete.
    - `id` string, required

## Response `200`

successful operation

- object
  - `return_code` integer
  - `return_message` string
  - `result` object
    - `job_id` string

---

[API](https://skmtc.dev/api2cart/apis/api2cart-openapi.md) · [All operations](https://skmtc.dev/api2cart/apis/api2cart-openapi/llms.txt) · [OpenAPI document](https://skmtc.dev/api2cart/apis/api2cart-openapi/revisions/c34440741693?raw)
