Blog Posts

Create Blog Post

Changed on

Creates a new blog post.

post/v1/shops/{shopId}/blog-posts

Request

Request body

titlestring required

Must not be greater than 255 characters.

pathstring nullable

Must match the regex /^[a-z0-9-]+$/.

summarystring nullable

Must not be greater than 2000 characters.

contentstring required

Must not be greater than 100000 characters.

image_idstring nullable

Must match an existing stored value.

meta_titlestring nullable

Must not be greater than 255 characters.

meta_descriptionstring nullable

Must not be greater than 255 characters.

metadatastring nullable

Must not be greater than 65535 characters.

product_idsinteger[] required

Example request

{
  "title": "tjqotbhpzwonwlzospqcs",
  "path": "o",
  "summary": "tbhpzwonwlzospqcsnssr",
  "content": "ciatkmatldznkaapjptdh",
  "meta_title": "yldmarwuvlvyfcejzolbx",
  "meta_description": "nqyvzmcgyfpncfystnonj",
  "metadata": "izoohlpabvwbfbzkwsewl",
  "product_ids": [
    6
  ]
}

Changes

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      added the new optional request property