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
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.