ProductDeleteMediaPayload object

Version 2020-04 (Release candidate)

Return type for productDeleteMedia mutation.

Fields

deletedMediaIds ([ID!])

List of media IDs which were deleted.

deletedProductImageIds ([ID!])

List of product image IDs which were deleted.

mediaUserErrors ([MediaUserError!]!)

List of errors that occurred executing the mutation.

product (Product)

The product which media was deleted from.

Deprecated fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use mediaUserErrors instead

Version 2020-01 (Latest)

Return type for productDeleteMedia mutation.

Fields

deletedMediaIds ([ID!])

List of media IDs which were deleted.

deletedProductImageIds ([ID!])

List of product image IDs which were deleted.

mediaUserErrors ([MediaUserError!]!)

List of errors that occurred executing the mutation.

product (Product)

The product which media was deleted from.

Deprecated fields

Show/Hide
userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use mediaUserErrors instead