Admin

Create a product

Create a new product.

post/admin/products

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

Request body

namestring required
descriptionstring nullable required
imagestring nullable required
logostring nullable required
example_screenshotstring nullable required
type_idstring uuid required
activeboolean required
requirementsstring nullable required
min_delivery_daysinteger nullable required
max_delivery_daysinteger nullable required
is_featuredboolean required
llm_aeo'YES' | 'NO' | 'MAYBE' | 'DISCRETE' nullable
internal_costnumber nullable required
outlet_channel_idsstring[]

Example request

{
  "name": "Blog Post",
  "llm_aeo": "MAYBE",
  "prices": [
    {
      "unit_amount": 742.4,
      "type": "ONE_TIME",
      "interval": "MONTH"
    }
  ]
}

Response

Product created successfully

idstring uuid required
namestring required
descriptionstring nullable required
imagestring nullable required
logostring nullable required
example_screenshotstring nullable required
stripe_product_idstring nullable required
type_idstring uuid required
activeboolean required
requirementsstring nullable required
min_delivery_daysinteger nullable required
max_delivery_daysinteger nullable required
is_featuredboolean required
example_linksstring[] required
llm_aeo'YES' | 'NO' | 'MAYBE' | 'DISCRETE' nullable required

Example response

{
  "name": "Blog Post",
  "example_links": [
    "https://example.com/example-link-1",
    "https://example.com/example-link-2"
  ],
  "llm_aeo": "MAYBE"
}

Changes

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