Admin

Partially update an outlet

Partially update an outlet. Only provided fields will be updated.

patch/admin/outlets/{outlet_id}

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/{outlet_id}
  • Auth: HTTP bearer

Path parameters

outlet_idstring uuid required
Example:c55e7113-1182-4e7d-b9e4-3564702a20a2

Request body

namestring
descriptionstring nullable
imagestring nullable
pricenumber nullable
pro_pricenumber nullable
metadata_idstring uuid nullable

Example request

{
  "name": "Blog Post",
  "outlet": {
    "do_follow_links_allowed": "Unlimited",
    "internal_cost": 94,
    "reseller_price": 1,
    "is_indexed": true,
    "metrics": {
      "domain_authority": 94,
      "domain_ranking": 79,
      "popularity_rank": 1
    }
  }
}

Response

Outlet updated 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",
  "metrics": {
    "domain_authority": 94,
    "domain_ranking": 79,
    "popularity_rank": 1
  }
}

Changes

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