The Firmhouse Logo [FH]
Developer Docs

createAsset

Creates an asset for a product, optionally assigns it to a subscription.

Arguments

ArgumentDescription
input (CreateAssetInput!)
Parameters for CreateAsset

CreateAssetInput Arguments

ArgumentDescription
subscriptionId (ID)
The ID of the subscription to assign this asset to
productId (ID!)
The ID of the product for this asset
internalNumber (String!)
Mandatory number used to identify the asset
externalNumber (String)
Optional additional number used to identify the asset
notes (String)
Additional information about the specific asset
status (AssetStatus)
Status of this asset (available, at_customer, purchased, in_refurbishment or scrapped).
expectedAvailabilityOn (ISO8601Date)
Date on which the asset is expected to be available.
purchasedAt (ISO8601Date)
Date on which the asset is purchased.
depreciatedOn (ISO8601Date)
Date on which the asset is depreciated.
scrappedOn (ISO8601Date)
Date on which the asset is scrapped.
assetCustomFields ([AssetCustomFieldInput!])
Associated custom field values for this asset.

Return Fields

asset (Asset)