List items by product template ID

An item is represtented by an NFT on the blockchain and IPFS.

Here is an example of the GraphQl request.

query ($id: Int!) {
  itemsByProductId(productId: $id) {
    quantity
    tokenUri
    timeCreated
    timeModified
    id
    obfuscatedId
    approver
    productId
    externalUrl
    stolen
    notes
    owned
    owner
    forSale
    deleted
    metadata
    earmarks
  }
}

Here is an example curl request.

If the request is successful the response will look something like this.

Last updated