Skip to main content
POST
/
v2
/
product
Create Product V2
curl --request POST \
  --url https://api.jogg.ai/v2/product \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "url": "https://www.amazon.com/product/...",
  "name": "Physicians Formula Happy Booster Heart Blush",
  "description": "Brush on a radiant blushing glow...",
  "target_audience": "Beauty enthusiasts",
  "media": [
    {
      "type": 1,
      "name": "product.jpg",
      "url": "https://res.jogg.ai/media.jpg",
      "description": "Product front view"
    }
  ]
}
'
{
  "code": 0,
  "msg": "Success",
  "data": {
    "product_id": "NTQ0MTkzNjg",
    "url": "<string>",
    "name": "<string>",
    "description": "<string>",
    "target_audience": "<string>",
    "media": [
      {
        "type": 1,
        "name": "<string>",
        "url": "<string>",
        "description": "<string>"
      }
    ]
  }
}
Create a product entry from a URL or manual product information. The system will extract product details automatically.

Example Usage

curl -X POST 'https://api.jogg.ai/v2/product' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://example.com/product/amazing-gadget"
  }'

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your key from the JoggAI dashboard.

Body

application/json
url
string

Product URL to crawl information from

Example:

"https://www.amazon.com/product/..."

name
string

Product name (required if no URL)

Example:

"Physicians Formula Happy Booster Heart Blush"

description
string

Product description and selling points

Example:

"Brush on a radiant blushing glow..."

target_audience
string

Target audience

Example:

"Beauty enthusiasts"

media
object[]

Media resources array

Response

200 - application/json

Success

code
integer
required

Business status code:

  • 0 - Success
  • 10104 - Record not found
  • 10105 - Invalid API key
  • 18020 - Insufficient credit
  • 18025 - No permission to call APIs
  • 40000 - Parameter error
  • 50000 - System error
Example:

0

msg
string
required

Response message

Example:

"Success"

data
object