Blog Posts

Update Blog Post

Changed on

Updates a specific blog post.

put/v1/shops/{shopId}/blog-posts/{blogPostId}

Request

Request body

idinteger required
pathstring nullable

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

titlestring required

Must not be greater than 255 characters.

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

{
  "id": 6,
  "path": "o",
  "title": "tbhpzwonwlzospqcsnssr",
  "summary": "ciatkmatldznkaapjptdh",
  "content": "yldmarwuvlvyfcejzolbx",
  "meta_title": "nqyvzmcgyfpncfystnonj",
  "meta_description": "izoohlpabvwbfbzkwsewl",
  "metadata": "xtdfjxskykaapbpdxvoin",
  "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