Admin

Create a outlet

Create a new outlet.

post/admin/outlets

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
  • Auth: HTTP bearer

Request body

namestring required
descriptionstring nullable required
logostring nullable required
website_urlstring nullable required
countrystring nullable required
statestring nullable required
citystring nullable required
is_indexedboolean required
has_authorboolean required
has_dateboolean required
other_provider_namestring nullable required
status'DRAFT' | 'PENDING_REVIEW' | 'PENDING_AGREEMENT' | 'REJECTED' | 'ACTIVE' | 'INACTIVE' | 'ARCHIVED' | 'SUSPENDED' | 'PENDING_VERIFICATION'
metadata_idstring uuid nullable

Example request

{
  "is_indexed": true,
  "status": "DRAFT"
}

Response

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