AutoBill and apply a Campaign discount Code in a single operation, using AutoBill.update.
Create an AutoBill with an attached Campaign Code:
promoCode is the 6th parameter.
Parent topic:Working with CampaignsDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
AutoBill and apply a Campaign discount Code in a single operation, using AutoBill.update.
Create an AutoBill with an attached Campaign Code:
$autobill = new AutoBill();
$response = $autobill->update(
'SucceedIgnore', // Duplicate Behavior
false, // validate PaymentMethod?
100, // min Chargeback Probability
true, // ignore Avs Policy?
true, // ignore Cvn Policy?
'promoABC' // promoCode
);
// check $response
promoCode is the 6th parameter.
Parent topic:Working with Campaigns