# create or update draft product

`POST https://api.suger.cloud/org/{orgId}/draftProduct`

Create a new draft product or update the existing draft product. When updating draft product, the product.ID is required.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |

## Request Body

Required.

Content-Type: `application/json` · Schema: `WorkloadProduct`

## Responses

### 200 — OK

Content-Type: `application/json` · Schema: `WorkloadProduct`

### 400 — Bad request error

Content-Type: `application/json`

### 500 — Internal server error

Content-Type: `application/json`

---

Interactive API reference: https://doc.suger.io/api/
