Blogs

Partial-updates a blog. Send any subset of title and handle; at least one field is required (an empty body returns 400).

Supported on Shopify (platform shopify). WordPress and Wix site settings are not writable through this API, so both return 405.

patch/v1/accounts/{accountId}/blogs/{blogId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/accounts/{accountId}/blogs/{blogId}
  • Auth: HTTP bearer

Path parameters

accountIdstring required

Connected Shopify SocialAccount id.

blogIdstring required

Platform-native blog id. Shopify blog ids are numeric; other values return 400.

Request body

titlestring
handlestring

URL slug. Changing it changes the blog URL on the store.

Response

Blog updated

platform'shopify'

Changes

    • warning

      added the new webflow enum value to the / response property for the response status

    • warning

      changed the pattern of the path request parameter blogId from ^\d+$ to ^[A-Za-z0-9_-]{1,64}$

    • warning

      added the new wix enum value to the / response property for the response status