Skip to main content

documentAttach

Attach a document to any allowed entities.

documentAttach(
documentId: ID!
ids: [ID!]!
): DocumentAttach

Arguments

documentAttach.documentId ● ID! non-null scalar

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

documentAttach.ids ● [ID!]! non-null scalar

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

Type

DocumentAttach object

Attach a document to any allowed entities.

Was this page helpful?