---
title: "POST /bulkmodificationtool/order/update"
method: POST
path: "/bulkmodificationtool/order/update"
---

# POST /bulkmodificationtool/order/update

`POST /bulkmodificationtool/order/update`

## Request body

- object
  - `addons` OrderItemForUpdate[], nullable
    - `id` integer, required
    - `quantity` integer, required
    - `unitPrice` number, required
  - `bagItems` OrderItemForUpdate[], nullable
    - `id` integer, required
    - `quantity` integer, required
    - `unitPrice` number, required
  - `operation` 'ADD' | 'CHANGE_QUANTITY' | 'DELETE' | 'SUBSTITUTE' | 'CREDIT_ONLY', required
  - `newItems` BulkModificationItem[]
    - `productId` integer, required
    - `quantity` integer, required
  - `startDate` string, date, required
  - `endDate` string, date, required
  - `applyProductCredit` boolean
  - `applyGoodWillCredit` boolean
  - `goodWillCreditAmount` number, nullable
  - `creditReason` 'COUPONS' | 'CANCELLED_ORDER' | 'EMPLOYEE_CREDIT' | 'FRIEND_REFERRAL' | 'GIFT_CARD' | 'GOOD_WILL_CREDIT' | 'LOGISTICS' | 'MARKETING' | 'MISSING_ORDER' | 'MISSING_ITEM' | 'ORDER_ADJUSTMENT' | 'OUT_OF_STOCK' | 'PACKING_ERROR' | 'PAYMENT_ON_ACCOUNT' | 'PRODUCT_QUALITY' | 'STAFF_EP_DISCOUNT' | 'SYSTEM_ERROR' | 'MEO_IMPORT' | 'BIN_RETURN'
  - `internalReason` 'VENDOR' | 'CUSTOMER' | 'BUSINESS_PROCESS' | 'PICK_PACK' | 'PURCHASING' | 'EXPECTED' | 'OTHER'
  - `internalReasonNote` string, nullable
  - `notifyUsers` 'IMMEDIATE' | 'BATCH' | 'NONE', required

## Response `200`

updateOrders 200 response

- BulkModificationUpdateResult
  - `addonsAffected` integer, required
  - `progressLink` NamedUrl, required
    - `name` string, required
    - `url` string, required

---

[API](https://skmtc.dev/mamaearth/apis/mama-earth-api.md) · [All operations](https://skmtc.dev/mamaearth/apis/mama-earth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mamaearth/mama-earth-api/revisions/42b90383d711/schema)
