Skip to main content
POST
/
assets
Create Asset
curl --request POST \
  --url https://api.example.com/assets \
  --header 'Content-Type: application/json' \
  --data '
{
  "policyId": "<string>",
  "customFields": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ],
  "name": "<string>",
  "externalAssetId": "<string>",
  "startedAt": "<string>"
}
'
{
"type": "<string>",
"id": "<string>"
}

Query Parameters

whenAt
string

Optional: the whenAt datetime

branchId
string
required

the branchId

Body

application/json
policyId
string
required

policyId of asset owner

customFields
object[]

custom fields per product

name
string

Optional: Name of the entity

externalAssetId
string

externalAssetId

startedAt
string

startedAt

Response

type
string
required

type of entity

id
string
required

id of the entity