Skip to main content

Start campaign by id

PATCH 

/api/campaign/:id/start

Start campaign by id

Request

Path Parameters

    id uuidrequired

    The id of the campaign

Responses

Updated campaign

Schema
    id uuidrequired

    The unique identifier of the campaign.

    name stringrequired

    The name of the campaign.

    influencer_id uuidrequired

    The id of the influencer.

    image urlrequired

    Optional main image of the campaign

    company_id uuidrequired

    The unique identifier of the company.

    details stringrequired

    The details of the campaign.

    images object[]required

    An array of images associated with the campaign.

  • Array [
  • 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.

  • ]
  • videos object[]required

    An array of videos associated with the campaign.

  • Array [
  • 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.

  • ]
  • budget objectrequired

    Amount object

    value stringrequired

    The value of the amount.

    currency stringrequired

    The currency of the amount.

    product_id uuidrequired

    The id of the product.

    status CampaignStatusrequired

    Possible values: [created, running, completed, stopped]

    Campaign status

    categories CampaignCategory[]required

    Possible values: [art_and_design, automobiles, beauty, beverages, books_and_literature, career_and_business, children_toys_and_games, diy, e_commerce, education, events_and_entertainment, fashion, finance_and_insurance, food, gardening_and_outdoor, health_and_fitness, hobbies_and_crafts, home_and_living, home_appliences, legal_services, mobile_games, news, non_profit_and_charity, office_supplies, parenting_and_family_products, personal_development, pets, photography, podcasts, real_estate, social_media_tools, sports_and_outdoor_activities, streaming, subscription_box, technology, travel, video_games, wedding]

    The categories of the campaign.

    restrictions CampaignRestriction[]required

    Possible values: [eco_friendly, no_animal_testing, halal, kosher, vegan, vegetarian, lgbtq, diverse_leadership]

    The restrictions of the campaign.

    start_time_utc date-timerequired

    The start time of the campaign.

    end_time_utc date-timerequired

    The end time of the campaign.

Loading...