Admin

Revert publication approval

Move a publication from pending agreement back to pending review.

post/admin/outlets/{id}/revert-approval

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/admin/outlets/{id}/revert-approval
  • Auth: HTTP bearer

Path parameters

idstring uuid required
Example:529e52b4-d667-437f-8955-5fd33daa12a9

Request body

reasonstring required

Example request

{
  "reason": "Approved by mistake. Needs another review pass."
}

Response

Publication approval reverted successfully

idstring uuid required
namestring required
website_urlstring nullable required
descriptionstring nullable required
logostring nullable required
word_logostring nullable required
example_screenshotstring nullable required
locationstring nullable required
requirementsstring nullable required
do_follow_links_allowedstring nullable required
internal_costnumber nullable required
reseller_pricenumber nullable required
category_idstring uuid nullable required
product_idstring uuid nullable required
disclaimer_idstring uuid nullable required
social_linksstring[] required
example_linksstring[] required
countrystring nullable required
statestring nullable required
citystring nullable required
other_provider_namestring nullable required
type_idstring uuid nullable required
has_authorboolean required
has_dateboolean required
is_indexedboolean required
status'DRAFT' | 'PENDING_REVIEW' | 'PENDING_AGREEMENT' | 'REJECTED' | 'ACTIVE' | 'INACTIVE' | 'ARCHIVED' | 'SUSPENDED' | 'PENDING_VERIFICATION' required
reviewed_bystring uuid nullable required
review_notesstring nullable required
rejection_reasonstring nullable required

Example response

{
  "do_follow_links_allowed": "Unlimited",
  "internal_cost": 94,
  "reseller_price": 1,
  "is_indexed": true,
  "status": "DRAFT"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.