---
title: "PUT /api/product/{product_id}"
method: PUT
path: "/api/product/{product_id}"
tags: ["Product"]
---

# PUT /api/product/{product_id}

`PUT /api/product/{product_id}`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/product/{product_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/product/:product_id/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ProductUpdateRequest
  - `name` string
  - `roles` string
  - `surface_limit` object
    - `organization` integer, nullable
    - `user` integer, nullable

## Response `200`

Products details.

- ProductResource
  - `id` integer
  - `name` string
  - `badge` string
  - `export_limit` integer
  - `organization_surface_limit` integer, nullable
  - `user_surface_limit` integer, nullable
  - `roles` RoleResource[]
    - `id` integer
    - `name` string
    - `display_name` string
    - `description` string

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
