This request updates a campaign for your GrabFood store.
Name | Type | Description | Notes |
---|---|---|---|
merchant_id | str | The merchant's ID that is in GrabFood's database. | [optional] |
name | str | The campaign's name. | [optional] |
quotas | CampaignQuotas | [optional] | |
conditions | CampaignConditions | [optional] | |
discount | CampaignDiscount | [optional] | |
custom_tag | str | Specify the tag for custom bundle offer campaign. Only whitelisted partner is supported as of now. | [optional] |
from grabfood.models.update_campaign_request import UpdateCampaignRequest
# TODO update the JSON string below
json = "{}"
# create an instance of UpdateCampaignRequest from a JSON string
update_campaign_request_instance = UpdateCampaignRequest.from_json(json)
# print the JSON string representation of the object
print(UpdateCampaignRequest.to_json())
# convert the object into a dict
update_campaign_request_dict = update_campaign_request_instance.to_dict()
# create an instance of UpdateCampaignRequest from a dict
update_campaign_request_from_dict = UpdateCampaignRequest.from_dict(update_campaign_request_dict)