Magidoc

documentAttach
Mutation

Attach a document to any allowed entities.

Arguments

#

documentId

ID !
Non-null

Used when attaching an existing document in the system to a new instance.

ids

[ ID !]!
Non-null

List of instance IDs to attach a document to, currently supports Product, ProductVariant, Seller, and User IDs.

Response

#

Returns DocumentAttach .

Example

#