Developer

Platform contract 10: reviews, FAQ and product page tools

The Ottla platform has incremented its version (“contract”) to 10, required by the Magento module for FAQ page integration, product page tools and review display. Additional webhook events are introduced for reviews, questions and product page content suggestions.

These changes support the review, FAQ and product page features in the Ottla Magento module.

  • Contract 10. The header X-Ottla-Platform-Contract: 10 is now returned with all requests. The Magento module will check this before using new features, preventing it from invoking endpoints not available on earlier versions of the Ottla Platform.
  • Review and question webhooks. Webhook events have been added under a new Reviews and questions group, for review.published, review.low_star, review.reported, review.removed, review.replied and question.submitted. These will only fire if webhook subscriptions have been enabled for Reviews for that website. These review webhooks are available on Growth and above, and question.submitted on all plans.
  • Product page suggestions. The event content_suggestion.accepted is triggered when your team accepts a product page suggestion, returning the associated product ID, locale, suggestion type and accepted text. No reviews data is included. There are now 39 total webhook events across 10 groups.
  • Reviews and questions API. API documentation for the new reviews and questions endpoints is in the API reference. These will return 404 not_found until rolled out to the relevant workspaces.

More changes

Developer changelog
  1. Developer

    Developer documentation rebuilt

    Reference pages for all public endpoints and webhook events. Code snippets for curl, PHP and Node.js. Webhook verification for Node.js and PHP that we have tested.