# Update webhook version Updates the webhook version for the project. In version 2, additional parameters are included in the items array. For more information about webhooks, see the Set up order status tracking. Endpoint: PUT /v2/project/{project_id}/admin/webhook/version Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) プロジェクトID。このパラメータは、パブリッシャーアカウントのプロジェクト名の横、またはプロジェクトの作業中にブラウザのアドレスバーで確認できます。URLの形式は以下の通りです:https://publisher.xsolla.com//projects/。 Example: 44056 ## Request fields (application/json): - `version` (integer, required) Webhook version. Version 1 is used by default. In version 2, the items array includes the following parameters: is_free, is_bonus, and is_bundle_content parameters. Enum: 1, 2 ## Response 401 fields (application/json): - `statusCode` (integer) Example: 401 - `errorCode` (integer) Example: 1020 - `errorMessage` (string) Example: "[0401-1020]: Error in Authentication method occurred" ## Response 422 fields (application/json): - `statusCode` (number) レスポンスステータスコード。 Example: 422 - `errorCode` (number) エラーコード。 Example: 1102 - `errorMessage` (string) 読み取り可能なエラーメッセージ。 Example: "[0401-1102]: Unprocessable Entity" - `errorMessageExtended` (array) 検証エラーの詳細。どのフィールドがどのような理由で検証に失敗したかを説明する、プロパティレベルのエラーの配列が含まれます。 - `errorMessageExtended.property` (string) 検証に失敗したフィールドの名前。 Example: "external_id" - `errorMessageExtended.message` (string) フィールドに対する検証エラーメッセージ。 Example: "The property external_id is required" - `transactionId` (string) リクエストのユニークID。 Example: "da145238620011eb8e24fe6913ff226a" ## Response 204 fields