> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateResourceCommandRequestInput

> Creates a resource. The input is a one-of: exactly one variant is sent and it is the category of the new resource. Errors: the request is invalid; RESOURCE_TYPE_NOT_FOUND (the resource type was not found); RESOURCE_TYPE_CATEGORY_MISMATCH (the resource type belongs to another category); a referenced warehouse, hardware or user was not found. - Request



**Kind**: `input`

## Fields

**`resource`**: `CreateResourceInput!` (required)

The data of the new resource. Exactly one variant.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

