Promotion Service - rettersoft/rbs-docs GitHub Wiki

RBS Promotion Service

Models

All Promotion Service Models

Actions

rbs.promotion.request.GET: returns specific promotion

(promotionId: string) -> Promotion


rbs.promotion.request.CREATE: creates new promotion

(createPromotionInput: CreatePromotionInput) -> (promotionId: string)



rbs.promotion.request.SET_CONTENT: sets content to promotion

(setContentInput: SetContentInput) -> (ListPromotionItem[])


rbs.promotion.request.DELETE: deletes existing promotion

(promotionId: string) -> ()


rbs.promotion.request.LIST: lists promotions

() -> (ListPromotionItem[])