Input objects
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
input
CreateResourceCommandRequestInputFields
resource
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.
Was this page helpful?