getAccounts

This method returns the list of accounts valid for the target promotion. Target promotion timeframe is calculated by the difference in days between the original promotion date and the new date.

NameTypeRequiredDescription
promotionIdStringYESID of the promotion.
inStoreDateFromStringYESNew start date of the promotion.
NameDescription
IdID of the Account.
NameName of the Account.