Attach a document to any allowed entities.
documentId
Used when attaching an existing document in the system to a new instance.
ids
List of instance IDs to attach a document to, currently supports Product, ProductVariant, Seller, and User IDs.
Returns DocumentAttach .