withdrawProductPublicationRequest
Preview (product-request-publication): withdraw a pending publication request.
A developer (ROLE_DEVELOPER) withdraws only their own pending request.
Only REQUESTED requests can be withdrawn. The product status reverts to LAUNCHED when a published snapshot
exists, otherwise to NEW. A pending network distribution request returns ProductNotEligibleForPublishError
with path ['input', 'id']. No vendor or marketplace notification is sent.
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 WithdrawProductPublicationRequestInput! PREVIEW |
WithdrawProductPublicationRequestInput fields
| id ID! | Publication request id |
Return Fields
| publicationRequest ProductPublicationRequest | Publication request after the withdraw |
| userErrors [WithdrawProductPublicationRequestError!] 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.