put https://{url}/onceOfMessage/
This endpoint allows you to update a once-off message campaign previously created.
- URL:
PUT - {{url}}/onceOfMessage/:id
- Parameter:
id
- ID of the campaign.
- Body:
campaignName
- Name of the campaign.
productIds
- ID of the specific digital passport to include in the campaign.
content
- Content of the message. Check out the Message Schema.
audienceId
- ID of the target audience.
status
-DRAFT
orCREATED
. If you create a draft, use the "Send Once-Off Message Campaign" API to trigger the campaign afterward.
- Success: The campaign data are returned.