Skip to main content
POST
/
v1
/
products
Product / Content Upload API
curl --request POST \
  --url https://api.askmiso.com/v1/products \
  --header 'Content-Type: application/json' \
  --data '{
  "data": [
    {
      "product_id": "123ABC-S-Black",
      "product_group_id": "123ABC",
      "parent_id": "Nike_Shop_123",
      "related_ids": [
        "<string>"
      ],
      "type": "clothes",
      "title": "Japanese Shiba Inu Dog Eating Miso Soup T-Shirt",
      "description": "This cute Shiba inu dog eating Miso soup is perfect for those who love Japanese culture.",
      "short_description": "Cute Shiba Inu Dog Eating Miso Soup T-Shirt",
      "language": "en",
      "created_at": "2023-11-07T05:31:56Z",
      "published_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "categories": [
        [
          "Clothing, Shoes & Jewelry",
          "Women",
          "T-Shirts"
        ],
        [
          "Novelty",
          "Tops & Tees",
          "T-Shirts"
        ]
      ],
      "tags": [
        "cute",
        "anime",
        "dogs",
        "t-shirt"
      ],
      "url": "https://example.com/miso-tshirt-123ABC",
      "cover_image": "https://example.com/miso-tshirt-123ABC.jpg",
      "original_price": 20,
      "sale_price": 15,
      "margin": 15,
      "size": "S",
      "color": "Black",
      "material": "Cotton",
      "condition": "NEW",
      "brand": "Miso Corp.",
      "authors": [
        "Andy Hsieh"
      ],
      "publishers": [
        "O'\''Reilly Media"
      ],
      "collections": [
        "Anime T-Shirt Collection",
        "Superhero T-Shirt Collection"
      ],
      "availability": "IN_STOCK",
      "location": [
        {
          "lat": 40.74844,
          "lon": -73.985664
        }
      ],
      "rating": 5,
      "html": "<string>",
      "subtitle": "<string>",
      "headers": [
        "<string>"
      ],
      "paragraphs": [
        "<string>"
      ],
      "anchors": [
        "<string>"
      ],
      "children": [
        {
          "id": "<string>",
          "url": "<string>",
          "title": "<string>",
          "description": "<string>",
          "html": "<string>",
          "headers": [
            "<string>"
          ],
          "custom_attributes": {}
        }
      ],
      "enable_question_answering": false,
      "custom_attributes": {
        "cast": [
          "Robin Williams",
          "Jonathan Hyde"
        ],
        "director": "Joe Johnston",
        "genres": [
          "Adventure",
          "Fantasy",
          "Family"
        ],
        "popularity": 7.439,
        "adult": false
      }
    }
  ]
}'
{
  "message": "success",
  "data": {
    "task_id": "<string>"
  }
}

Authorizations

api_key
string
query
required

Your secret API key is used to access every Miso API endpoint. You should secure this key and only use it on a backend server. Never leave this key in your client-side JavaScript code. If the private key is compromised, you can revoke it in Dojo and get a new one.

Specify your secret key in the api_key query parameter. For example:

POST /v1/users?api_key=039c501ac8dfcac91c6f05601cee876e1cc07e17

Body

application/json
data
ProductRecord · object[]
required

Response

Successful Response

message
string
required

Human-readable message

Example:

"success"

data
object
required