1MSG

Set Commerce Settings

POST
/commerce

Update catalog/cart commerce settings.

POST body:

{ "params": { "is_cart_enabled": true, "is_catalog_visible": true } }
  • params.is_catalog_visible — show catalog storefront icon
  • params.is_cart_enabled — enable cart

Blocked when subscription limit exceeded.

Request Body

  1. body
params?

Cart and catalog storefront flags to update.

Response Body

Server response example

application/json
  1. response
success?boolean
curl -X POST 'https://api.1msg.io/123/commerce' \  -H 'Content-Type: application/json' \  -d '{  "params": {    "is_cart_enabled": true,    "is_catalog_visible": true  }}'
{  "success": true}