I use GraphQL API to create collections and products. I know how to create images and add these images to a product. I also would like to add some pdfs to a product. To create a file, I use the mutation fileCreate. But how do I link this file to a product. I can’t find any product-id field.
Don’t suppose you work this out did you? The ability to use the filename of files is important to me, so I like using that rather than productCreateMedia