Preview

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

ApproveProductPublicationRequestPayload

This page contains

    Fields

    publicationRequest: ProductPublicationRequest

    Publication request after the decision

    productPublicationProcess: ProductPublicationProcess

    Publication process to poll until COMPLETED or ERRORED

    userErrors: [ApproveProductPublicationRequestError!] PREVIEW

    Mutations for ApproveProductPublicationRequestPayload

    approveProductPublicationRequest PREVIEW

    Preview (product-request-publication): approve a pending publication request and publish the product. A marketplace manager (ROLE_CHANNEL_ADMIN) of the product's marketplace approves a pending request. Approval publishes the product through the Product Service native path and appends the approved event in the same outbox mutation, so the request and the publication progress together. Returns publicationRequest (the decision applied), productPublicationProcess (poll until COMPLETED or ERRORED) and userErrors. Only REQUESTED requests can be approved. A pending network distribution request returns ProductNotEligibleForPublishError with path ['input', 'id']. Other ineligibility (no active editions, retirement in progress, publication already in flight, commerce gate) returns ProductNotEligibleForPublishError on the same path, with code set for commerce rejections. The developer receives the approved email and the activity-feed entry. A permanently failed publication leaves the request PENDING.