Update Coupon Pool

Update Coupon Pool

The API is used to update an existing coupon pool record.

Request Parameters

Id Int (Required)

The ID of the Coupon pool

Name String (Required)

The Name of the coupon pool

Starts String (Optional)

The start time of the coupon pool.

Expires String (Required)

The End time of the coupon pool.

Size Int (Optional)

The size of the coupon pool.

				
					{
  "name": "testing date",
  "starts": "2024-12-12",
  "expires": "2025-05-12",
  "size": 30,
  "valueUnitId": 3
}
				
			

Response

Success Boolean(Nullable)

Request status

Message String(Nullable)

Success or Failure message

Data String(Nullable)

Response Data

				
					{
  "success": true,
  "message": "Record updated successfully.",
  "data": null
}