Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.45 KB

CreateCampaignRequest.md

File metadata and controls

35 lines (26 loc) · 1.45 KB

CreateCampaignRequest

This request creates a campaign for your GrabFood store.

Properties

Name Type Description Notes
merchant_id str The merchant's ID that is in GrabFood's database.
name str The campaign's name.
quotas CampaignQuotas [optional]
conditions CampaignConditions
discount CampaignDiscount
custom_tag str Specify the tag for custom bundle offer campaign. Only whitelisted partner is supported as of now. [optional]

Example

from grabfood.models.create_campaign_request import CreateCampaignRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateCampaignRequest from a JSON string
create_campaign_request_instance = CreateCampaignRequest.from_json(json)
# print the JSON string representation of the object
print(CreateCampaignRequest.to_json())

# convert the object into a dict
create_campaign_request_dict = create_campaign_request_instance.to_dict()
# create an instance of CreateCampaignRequest from a dict
create_campaign_request_from_dict = CreateCampaignRequest.from_dict(create_campaign_request_dict)

[Back to Model list] [Back to API list] [Back to README]