BooStore CMS Platform News
Updates on the BooStore platform for creating websites and online stores

Blocks/Menu Management Added to Commerce API

Blocks/Menu Management Added to Commerce API!




We continue to expand the capabilities of Commerce API. Now, in addition to products, categories, orders, blog articles, and pages, you have full control over managing blocks and menus on your site.

A new section — Blocks/Menu — has been added to Commerce API. You can now programmatically create, edit, and delete blocks and menus via the API.

New API methods for working with blocks and menus:

  • POST /blocks — Bulk add and update blocks/menus
  • GET /blocks — Get list of blocks with pagination, sorting, and filtering
  • GET /blocks/{id} — View a single block by ID
  • GET /blocks/slug/{slug} — Get a block by system name (slug)
  • PUT/PATCH /blocks/{id} — Update an existing block
  • PUT/PATCH /blocks — Bulk update blocks
  • DELETE /blocks/{id} — Delete a block by ID

Position and visibility management

The API allows you to manage block position (header, footer, left, right, top, etc.), sort order, visibility for different user groups and devices, and configure display on specific pages of the site.

All details, request structure, and usage examples have been added to the documentation.

View the guide: https://boostore.pro/en/docs/api-integration/#api-blocks

Added instructions for creating a pop-up block with the contents of the shopping cart.New feature: Page type selection for Schema.orgAdded section " s". In which s and instructions for them are required for the sites.