---
title: "POST /v1/{+name}:addProduct"
method: POST
path: "/v1/{+name}:addProduct"
tags: ["projects"]
---

# POST /v1/{+name}:addProduct

`POST /v1/{+name}:addProduct`

Adds a Product to the specified ProductSet. If the Product is already present, no change is made. One Product can be added to at most 100 ProductSets. Possible errors: * Returns NOT_FOUND if the Product or the ProductSet doesn't exist.

## Path parameters

- `name` string, required

## Request body

- AddProductToProductSetRequest — Request message for the `AddProductToProductSet` method.
  - `product` string — Required. The resource name for the Product to be added to this ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/vision.md) · [All operations](https://skmtc.net/google/apis/vision/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/vision/revisions/d5becca397b9/schema)
