---
title: "Upsert a product"
method: PUT
path: "/unstable/product"
tags: ["Product"]
---

# Upsert a product

`PUT /unstable/product`

## Request

- Base URL: `https://api.authentified.co`
- URL: `https://api.authentified.co/unstable/product`
- Auth: API key in header `X-Authentified-API-Key`

Upsert a product

## Request body

- object
  - `id` string, required: The Unique Identifier of the product in your system
  - `title` string, required: Title of the product
  - `handle` string, required: A slug identifying the product in kebab-case format
  - `status` 'ACTIVE' | 'DRAFT' | 'ARCHIVED', required: The status of the product
  - `category` string: Category of the product
  - `description` string: Description of the product
  - `vendor` string: The vendor of the product
  - `tags` string[]: Tags associated with the product
  - `createdAt` string, date-time: The date and time when the product was created in your system
  - `updatedAt` string, date-time: The date and time when the product was updated in your system

## Response `200`

Product updated successfully

- object: Product updated successfully
  - `id` string, required: The Unique Identifier of the product in your system
  - `title` string, required: Title of the product
  - `handle` string, required: A slug identifying the product in kebab-case format
  - `status` 'ACTIVE' | 'DRAFT' | 'ARCHIVED', required: The status of the product
  - `category` string: Category of the product
  - `description` string: Description of the product
  - `vendor` string: The vendor of the product
  - `tags` string[]: Tags associated with the product
  - `createdAt` string, date-time: The date and time when the product was created in your system
  - `updatedAt` string, date-time: The date and time when the product was updated in your system

## Other responses

- `201`: Product created successfully
- `400`: Bad Request - Invalid parameters
- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden - API key does not have access to this resource

---

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