---
title: "POST /v2/publishers/{publishersId}/items/{itemsId}:upload"
method: POST
path: "/v2/publishers/{publishersId}/items/{itemsId}:upload"
tags: ["media"]
---

# POST /v2/publishers/{publishersId}/items/{itemsId}:upload

`POST /v2/publishers/{publishersId}/items/{itemsId}:upload`

## Request

- Base URL: `https://chromewebstore.googleapis.com`
- URL: `https://chromewebstore.googleapis.com/v2/publishers/{publishersId}/items/{itemsId}:upload`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/chromewebstore`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/chromewebstore`

Upload a new package to an existing item.

## Path parameters

- `publishersId` string, required
- `itemsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Request body

- UploadItemPackageRequest: Request message for UploadItemPackage.

## Response `200`

Successful response

- UploadItemPackageResponse: Response message for `UploadItemPackage`.
  - `crxVersion` string: The extension version provided in the manifest of the uploaded package. This will not be set if the upload is still in progress (`upload_state` is `UPLOAD_IN_PROGRESS`).
  - `itemId` string: Output only. The ID of the item the package was uploaded to.
  - `name` string: The name of the item the package was uploaded to.
  - `uploadState` 'UPLOAD_STATE_UNSPECIFIED' | 'SUCCEEDED' | 'IN_PROGRESS' | 'FAILED' | 'NOT_FOUND': Output only. The state of the upload. If `upload_state` is `UPLOAD_IN_PROGRESS`, you can poll for updates using the fetchStatus method.

---

[API](https://skmtc.dev/google/apis/chromewebstore.md) - [All operations](https://skmtc.dev/google/apis/chromewebstore/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/chromewebstore/revisions/63eeb2aae19e?raw)
