Skip to main content

Requirements expressions on News and Pages

What's new

News posts and Pages gain an optional requirements_expression field. It holds targeting rules so a post or page is shown only to users who match the expression, bringing them in line with coupons, store items, and promotions that already support requirement expressions.

Impact

You can now scope individual news posts and pages to specific audiences by attaching a requirements expression, instead of showing them to every user.

Changes

ResourceChange
get_news_list, get_news_postAdded optional requirements_expression to the response
create_news, update_news, bulk_update_newsAdded optional requirements_expression to both request and response
get_pages, get_pageAdded optional requirements_expression to the response (including the parent page)
create_page, update_page, bulk_update_pageAdded optional requirements_expression to both request and response (including the parent page)
translate_pageAdded optional requirements_expression to the response (including the parent page)

Upgrade

  • No action required. Set requirements_expression on a news post or page to restrict it to users who match the rules.

Need help?
Contact our integration team at [email protected]