Campaign

Change campaign enabled state

接客サービスの公開状態を変更します。old-karte-secure-internal-api を経由して旧KARTEの内部APIを呼び出します。

Required Scope

APIの実行に必要なScopeです。

beta.action.campaign.changeEnabled-rev2

Required Role

管理画面でScopeを追加する際に必要な権限です。

接客サービス > 接客サービスの公開
post/v2beta/action/campaign/changeEnabled-rev2

Request

  • Base URL
    https://api.karte.io
  • URL
    https://api.karte.io/v2beta/action/campaign/changeEnabled-rev2
  • Auth
    HTTP bearer

Headers

x-karte-apistring

今後利用する可能性のある予約語です。現在は設定不要です。

authorizationstring

認証情報を含むトークンです。"Authorization" ヘッダーに Bearer <token> の形式で設定してください。

content-typestring

リクエストのコンテンツタイプを指定します。通常は application/json を使用してください。

Request body

campaign_idstring required

接客サービスID

enabledboolean

公開状態

is_archivedboolean

アーカイブ状態

editor_commentstring

編集者コメント

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.