Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.2 KB

Campaign.md

File metadata and controls

32 lines (20 loc) · 1.2 KB

Campaign

A JSON object containing the campaign details for a merchant. Only campaigns that are funded by merchants will be sent.

Properties

Name Type Description Notes
id String The campaign's ID.
createdBy CreatedByEnum The party who created the campaign. Can be created by partners via API, merchants via the merchant app or Grab.
merchantID String The merchant's ID that is in GrabFood's database.
name String The campaign's name.
quotas CampaignQuotas [optional]
conditions CampaignConditions [optional]
discount CampaignDiscount [optional]
customTag String Specify the tag for custom bundle offer campaign. Only whitelisted partner is supported as of now. [optional]

Enum: CreatedByEnum

Name Value
GRAB "Grab"
MERCHANT "Merchant"
PARTNER "Partner"
UNKNOWN_DEFAULT_OPEN_API "unknown_default_open_api"