Update Campaign

Updates the specified campaign by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

You can modify following fields: start_date, expiration_date, metadata, description, type. Other fields than listed above won't be modified. Even if provided they will be silently skipped. This method will update vouchers aggregated in the campaign. It will affect all vouchers which are not published or redeemed yet.

Returns

Returns the campaign object if the update succeeded. Returns an error if update parameters are invalid (e.g. specifying an invalid campaign type).

🚧

Vouchers will be affected

This method will update vouchers aggregated in the campaign. It will affect all vouchers which are not published or redeemed yet.

Language
Response
Click Try It! to start a request and see the response here!