Preview

denyProductPublicationRequest is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

denyProductPublicationRequest

Preview (product-request-publication): deny a pending publication request. A marketplace manager (ROLE_CHANNEL_ADMIN) of the product's marketplace denies a pending request. The optional reason is trimmed, defaults to No reason was given. and is capped at 4000 characters. Only REQUESTED requests can be denied. The product status reverts to LAUNCHED when a published snapshot exists, otherwise to NEW. The developer receives the denied email and the activity-feed entry. Unknown, out-of-scope or FAILED requests return ProductPublicationRequestNotFoundError; already-decided requests return ProductPublicationRequestNotPendingError; a marketplace without the review flow returns ProductPublicationRequestFlowDisabledError.

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_CHANNEL_ADMIN

    Arguments

    input DenyProductPublicationRequestInput! PREVIEW

    DenyProductPublicationRequestInput fields

    id ID!

    Publication request id

    reason StringInput

    Optional reason (max 4000 characters); a default text is used when empty

    Return Fields

    publicationRequest ProductPublicationRequest

    Publication request after the decision

    userErrors [DenyProductPublicationRequestError!] PREVIEW

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.