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 }}Arguments
Section titled “Arguments”onsaleId ● Guid!non-nullscalar
Section titled “onsaleId ● Guid! ”The onsale.
productId ● Guid!non-nullscalar
Section titled “productId ● Guid! ”The product the onsale belongs to.
An audience: a selection of customers that an engagement is sent to.

