How to create the page using platform client api,

@rushikesh Have tried the below code, but Getting Error as FDKServerResponseError: Request failed with status code 400. Please check the below code and let me know. CC : @Beermohamed_S

data = await platformClient.application(application_id).content.createPage({
        "body": {
          
            //"_custom_json": {},
            "orientation": "value",
            "content": [
              {}
            ],
            "feature_image": {
              "aspect_ratio": "",
              "id": "",
              "secure_url": "value"
            },
            "published": true,
            "reading_time": "5 minutes",
            "slug": "test-offers-page",
            "tags": [
              "test offers page",
            ],
            "seo": {
              "description": "hey this is my first page",
              "image": {
                "url": ""
              },
              "title": "seo_title"
            },
            "title": "Test Offers Page"
          }
        });

@Sardhar_Mohamed

Under content there is available createPagePreviewmethod . createPage platform client method comes under theme. Due to invalid request it is giving 400 status code.

You can refer to this doc : Create a page preview | Fynd Partners Help Center

https://partners.fynd.com/help/docs/sdk/platform/theme/createPage

@SoumyaAcharya Getting same Error while create page using createpagepreview in platformclient api. Please check and let me know.

Can able to get the page using platformclient api under content, pbm to create and update page using platformclient

Any Update on this… CC: @Beermohamed_S @Saptarshi