Voucher KiotViet icon

Voucher KiotViet

Quản lý voucher và chiến dịch khuyến mãi từ KiotViet

Xóa Chiến Dịch

AI-generated

Overview

This node operation deletes a voucher campaign in the KiotViet system by its campaign ID. It is useful for managing promotional campaigns by removing outdated or unwanted campaigns from the system. For example, a user can delete a campaign that has ended or was created by mistake to keep the campaign list clean and up to date.

Use Case Examples

  1. Deleting a voucher campaign by specifying its campaign ID to remove it from the KiotViet system.
  2. Managing voucher campaigns by programmatically deleting campaigns that are no longer needed.

Properties

Name Meaning
ID Chiến Dịch The unique identifier of the voucher campaign to be deleted.

Output

JSON

  • id - The ID of the deleted campaign (if returned by the API).
  • message - A message confirming the deletion or providing status information.

Dependencies

  • An API key credential for KiotViet API authentication

Troubleshooting

  • Common issues include providing an invalid or non-existent campaign ID, which may result in an error from the API indicating the campaign could not be found.
  • API authentication errors if the KiotViet API credentials are missing or incorrect.
  • Network or connectivity issues preventing communication with the KiotViet API.

Links

  • KiotViet API Documentation - Official documentation for KiotViet API, useful for understanding campaign management endpoints and error handling.

Discussion