Skip to content

Comments

Add bulk price update endpoint#21

Open
abmendez wants to merge 1 commit intomainfrom
FEAT-2345/bulk-price-update
Open

Add bulk price update endpoint#21
abmendez wants to merge 1 commit intomainfrom
FEAT-2345/bulk-price-update

Conversation

@abmendez
Copy link

Description:
Added new endpoint to update multiple package prices at once. This will save a lot of time for the product team when they need to adjust pricing for campaigns.

Changes:

  • Added bulkUpdatePrices controller function in controllers/package.controller.ts
  • Added route in routes/package.routes.ts
  • Uses existing updatePackagePrice service method for each package

Testing:

  • Tested with Postman using 3 packages
  • All prices updated successfully
  • Verified price history was created for each package

Related Ticket: FEAT-2345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant