# 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