Articles on: CMS

Updating SEO fields using Dorik API

This ENDPOINT will help you update SEO fields.

PUT https://api.cmsfly.com/api/v1/collections/{collectionId}/items/{itemId}


Request



Path Parameters



collectionId string required
Insert your collectionId
Example: 64042d70a6ac3c00296c9ab4


itemId string required
Insert your itemId
Example: 6406d6a292fb5206b3c4a8c1e


Headers



'X-Dorik-Key' string

Insert your dorik 'key'

Example: 0949322f8dee137ea4590


Body



Structure

JSON format

{
  "name": "example name",
  "slug": "example-name-list",
  "htmlContent": "this is a collection item content",
   "publish": true,
    "shortdescription": "shortdescription is required",
        "Image": "Image is required",
        "AuthorName": "AuthorName is required",
        "Category": "Category is required",
        "Rating": "Rating is required",
    "status": "PUBLISHED",
    "meta": {
        "opengraph": {},
        "twitter": {
            "card": "summary_large_image"
        },
        "keywords": [
            "set",
            "seokeyword1",
            "seokeyword2",
            "new try"
        ],
        "title": "seo-title-texts",
        "description": "seo-description-texts"
    }
}


Required JSON properties:

Short description
Image is required
Author name
Category
Rating


SEO fields updatable with Dorik API:

Title
Description
Keywords


Responses







Related Articles



Generating Public API Keys

Public API

Updated on: 17/10/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!