retrieveCampaign - Promotion Module Reference
This documentation provides a reference to the retrieveCampaign method. This belongs to the Promotion Module.
This method retrieves a campaigns by its ID.
Example
A simple example that retrieves a promotion by its ID:
To specify relations that should be retrieved:
Parameters
idstringRequiredThe ID of the campaigns.
configFindConfig<CampaignDTO>The configurations determining how the campaign is retrieved. Its properties, such as select or relations, accept the
attributes or relations associated with a campaign.
configFindConfig<CampaignDTO>select or relations, accept the
attributes or relations associated with a campaign.Returns
The retrieved campaigns.
Was this section helpful?