---
title: "Perform Batch Action"
method: POST
path: "/platform/data/batchJob/actions/{code}"
tags: ["BatchJob"]
---

# Perform Batch Action

`POST /platform/data/batchJob/actions/{code}`

Performs an action on the specified batch job. Possible actions are start, cancel, and reset actions. Reset can only be called for jobs that are already completed or canceled, and will remove all items so that you can re-use the empty job.

## Path parameters

- `code` string, required

## Query parameters

- `responseFields` string

## Request body

- BatchJobAction
  - `action` 'Start' | 'Reset' | 'Cancel'

## Response `200`

OK

- BatchJob
  - `auditInfo` AdminUserAuditInfo
    - `createBy` string, nullable
    - `createDate` string, date-time, nullable
    - `updateBy` string, nullable
    - `updateDate` string, date-time, nullable
  - `code` string, nullable
  - `dateStarted` string, date-time, nullable
  - `domain` 'Catalog'
  - `name` string, nullable
  - `scheduledDate` string, date-time, nullable
  - `status` 'Ready' | 'Pending' | 'Running' | 'Completed' | 'Canceled'
  - `tenantId` integer

---

[API](https://skmtc.net/kibocommerce/apis/customer.md) · [All operations](https://skmtc.net/kibocommerce/apis/customer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kibocommerce/customer/versions/47c0cf7b75ab/schema)
