Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.49 KB

UpdateCampaignRequest.md

File metadata and controls

35 lines (26 loc) · 1.49 KB

UpdateCampaignRequest

This request updates a campaign for your GrabFood store.

Properties

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]

Example

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)

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