Skip to main content

Updates campaign image by id

PATCH 

/api/campaign/:campaign_id/image/:image_id

Updates campaign image by id

Request

Path Parameters

    campaign_id uuidrequired

    The id of the campaign

    image_id uuidrequired

    The id of the image

Body

required
    caption stringrequired

    The caption of the campaign media.

Responses

Image updated

Schema
    id uuidrequired

    The unique identifier of the campaign media.

    campaign_id uuidrequired

    The unique identifier of the campaign.

    url urlrequired

    The URL of the campaign media.

    status CampaignMediaStatusrequired

    Possible values: [waiting_user_approval, approved, declined]

    Campaign media status

    caption stringrequired

    The caption of the campaign media.

Loading...