feat(medusa,utils): added campaign get endpoints (#6125)
what: adds endpoints for the following: - list endpoint (RESOLVES CORE-1682) - retrieve endpoint (RESOLVES CORE-1683)
This commit is contained in:
1 parent
5e655dd59b
commit
af7af73745
12 files changed
+520
-1
No files matched your search
@@ -116,6 +116,12 @@ export interface IPromotionModuleService extends IModuleService {
|
||||
sharedContext?: Context
|
||||
): Promise<CampaignDTO[]>
|
||||
|
||||
listAndCountCampaigns(
|
||||
filters?: FilterableCampaignProps,
|
||||
config?: FindConfig<CampaignDTO>,
|
||||
sharedContext?: Context
|
||||
): Promise<[CampaignDTO[], number]>
|
||||
|
||||
retrieveCampaign(
|
||||
id: string,
|
||||
config?: FindConfig<CampaignDTO>,
|
||||
|
||||
Reference in new issue
Block a user