Skip to main content
PUT
/
api
/
v1
/
shopify
/
automation-settings
Update Shopify Automation Settings
curl --request PUT \
  --url https://api.sequenzy.com/api/v1/shopify/automation-settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "browseAbandonment": {},
  "priceDrop": {}
}
'
{
  "success": true,
  "message": "Shopify automation settings updated.",
  "integrationId": "int_123",
  "shopDomain": "my-store.myshopify.com",
  "browseAbandonment": {
    "enabled": false,
    "delayHours": 2,
    "cooldownHours": 24
  },
  "priceDrop": {
    "enabled": true,
    "minPercent": 10,
    "lookbackDays": 30,
    "cooldownDays": 7
  }
}
Partial update: omitted sections are left untouched, omitted fields within a section keep their current value, and passing null for a section resets it to the platform defaults.

Request

browseAbandonment
object | null
Browse-abandonment settings: enabled (boolean), delayHours (hours to wait after a product view, default 2, max 168), cooldownHours (minimum hours between events per subscriber, default 24, max 720). Pass null to reset to the defaults.
priceDrop
object | null
Price-drop settings: enabled (boolean), minPercent (minimum price decrease percent, default 5, max 95), lookbackDays (viewer audience window, default 30, max 90), cooldownDays (minimum days between events per subscriber and product, default 7, max 90). Pass null to reset to the defaults.
curl -X PUT "https://api.sequenzy.com/api/v1/shopify/automation-settings" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"priceDrop": {"minPercent": 10}, "browseAbandonment": {"enabled": false}}'

Responses

{
  "success": true,
  "message": "Shopify automation settings updated.",
  "integrationId": "int_123",
  "shopDomain": "my-store.myshopify.com",
  "browseAbandonment": {
    "enabled": false,
    "delayHours": 2,
    "cooldownHours": 24
  },
  "priceDrop": {
    "enabled": true,
    "minPercent": 10,
    "lookbackDays": 30,
    "cooldownDays": 7
  }
}