Skip to content

createAudienceFromOnsale

Create the audience of the customers an onsale is open to, from its purchaser tags as saved, and start its refresh.

marketing {
audiences {
createAudienceFromOnsale(
onsaleId: Guid!
productId: Guid!
): Audience
}
}

The onsale.

The product the onsale belongs to.

An audience: a selection of customers that an engagement is sent to.