late 0.0.1376

API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema). Request ids: responses carry an X-Request-Id header with the id we log the request under. Quote it when reporting a problem. A valid x-request-id you send is reused as that id.
Documentation
# CreateCreatorCampaignRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**profile_id** | **String** | Profile the campaign lives in. Creator accounts connect into the same workspace. | 
**name** | **String** |  | 
**brand_name** | **String** |  | 
**economics** | [**models::CreatorCampaignEconomics**]CreatorCampaignEconomics.md |  | 
**caps** | Option<[**models::CreatorCampaignCaps**]CreatorCampaignCaps.md> | Omitted, the campaign starts with authenticityThreshold 40 and no other caps. | [optional]
**platforms** | Option<**Vec<Platforms>**> | Platforms creators may post on. At least one is needed to activate. `twitter` (X) needs usage-based billing: X reads are billed at cost, up to `caps.maxXReadSpendCents`, and X views are the post's impressions. `facebook` takes Page reels and videos only. (enum: tiktok, instagram, youtube, threads, pinterest, facebook, twitter) | [optional]
**content_rules** | Option<**String**> |  | [optional]
**starts_at** | Option<**String**> |  | [optional]
**ends_at** | Option<**String**> |  | [optional]
**tracking_days** | Option<**i32**> |  | [optional][default to 30]
**hold_days** | Option<**i32**> |  | [optional][default to 10]
**max_post_age_minutes** | Option<**i32**> | Optional maximum age in minutes of a post when it is submitted. Null or omitted (the default) accepts any age. Posts published before the campaign started are always refused. | [optional]
**settlement** | Option<**Settlement**> |  (enum: none, external, treasury) | [optional][default to None]
**branding** | Option<[**models::CreatorCampaignBranding**]CreatorCampaignBranding.md> |  | [optional]
**landing_url** | Option<**String**> | The page creator tracking links open. Required unless `attribution` is `code`. | [optional]
**code_discount_percent** | Option<**i32**> | What each creator's discount code takes off an order. Required unless `attribution` is `link`. | [optional]
**auto_payout** | Option<[**models::CreatorCampaignAutoPayout**]CreatorCampaignAutoPayout.md> |  | [optional]
**join_approval** | Option<**JoinApproval**> | manual holds creators who join through the open link as `pending` until you approve them. Personal invites are never held. (enum: auto, manual) | [optional][default to Auto]
**require_draft_approval** | Option<**bool**> | Creators upload a draft for review before publishing, and each submitted post must name an approved draft. | [optional][default to false]
**store_account_id** | Option<**String**> | A connected Shopify or WooCommerce store account. On `commission` and smart `retainer` economics its orders pay commission: required there, and fixed once such a campaign leaves draft.  On any campaign creators can ask for free samples of its products (`sampleProductIds`). Changing it without `sampleProductIds` clears the sample products; null removes the store and the products.  | [optional]
**sample_product_ids** | Option<**Vec<String>**> | Product ids in the store that creators can ask a free sample of. Each is read from the store and saved as `sampleProducts`; an unknown product answers 404 `product_not_found`. Needs a store, otherwise 400 `missing_required_field` (`param: storeAccountId`). | [optional]
**sample_content_due_days** | Option<**i32**> | Days after a sample is approved before a creator with no post since shows as owing content. | [optional][default to 14]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)