Skip to content

Update a Schedule

PATCH/v1/schedules/{id}

Request

application/json
Authorization
header · required
Bearer <Extralt API key>
id
path · string · required

Schedule ID

budget
body · integer · nullable

Omit to preserve, set to null to clear, or provide a positive value.

int32 · ≥ 0
cadence
body · Cadence · nullable
interval_amount
integer · required
int32 · ≥ 0
interval_unit
CadenceUnit · required
one of hour · day · week · month
name
body · string · nullable
scope
body · Scope · nullable

Replaces the whole scope; omit to keep it.

filters
ScopeFilters

Only known products in, or not in, these categories and brands.

not_read_within_hours
integer

Only products the organization's Runs haven't read in this many hours before the Run starts; Imports don't count. Left out, the Run skips nothing.

int32 · ≥ 1 · ≤ 8784
pages
string[]

Only these pages: 1 to 100 product or category page URLs on the Store's host. The crawl reads each page's product, or the products a category page lists.

items 1–100
products
ScopeProducts

known: only the products already in the organization's data for this Store, revisited without crawling the store, even after they leave its category pages. new: only the products not in it, found anywhere in the store or on the pages given; a product the store removed and brought back is in it, and so is one only an Import brought, when the Import gave its page URL.

one of known · new
store_id
body · string · nullable

The Store each Run reads, whose crawler must be ready.

Response

200 OK · application/json

The updated Schedule

budget
integer · nullable
int32 · ≥ 0
cadence
Cadence
interval_amount
integer
int32 · ≥ 0
interval_unit
CadenceUnit
one of hour · day · week · month
created_at
string
date-time
enabled
boolean
id
string
last_run_at
string · nullable
date-time
last_run_id
string · nullable
name
string
next_run_at
string · nullable
date-time
pause_reason
string · nullable

Known values: user, no_credits, payment_failed, no_subscription. Others may be added.

scope
Scope

Which of a Store's products a Run reads. Each field narrows the store and one left out narrows nothing, so {} reads the whole store. products: known takes no pages, filters need products: known, and products: new takes no not_read_within_hours.

filters
ScopeFilters

Only known products in, or not in, these categories and brands.

not_read_within_hours
integer

Only products the organization's Runs haven't read in this many hours before the Run starts; Imports don't count. Left out, the Run skips nothing.

int32 · ≥ 1 · ≤ 8784
pages
string[]

Only these pages: 1 to 100 product or category page URLs on the Store's host. The crawl reads each page's product, or the products a category page lists.

items 1–100
products
ScopeProducts

known: only the products already in the organization's data for this Store, revisited without crawling the store, even after they leave its category pages. new: only the products not in it, found anywhere in the store or on the pages given; a product the store removed and brought back is in it, and so is one only an Import brought, when the Import gave its page URL.

one of known · new
store_id
string
updated_at
string
date-time

Errors

ErrorResponse

Errors that read the same on every endpoint are in Error codes.

400

Invalid input

402

Active subscription required

404

Schedule or referenced Store not found

409

The referenced Store's crawler is not ready, or the Store is untracked

413

The request body exceeds the API limit

415

The request body must use application/json

422

The JSON body does not match the expected schema

Request · cURL
curl -X PATCH 'https://api.extralt.com/v1/schedules/ks7a3m9q2x8c1v6z4t5r0n7wbh2f9pdg' \
  -H "Authorization: Bearer $EXTRALT_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "budget": 100,
  "cadence": {
    "interval_amount": 1,
    "interval_unit": "day"
  },
  "name": "Daily price check",
  "scope": {
    "filters": {
      "brands": {
        "in": [
          "Nike",
          "Jordan"
        ],
        "not_in": [
          "Converse"
        ]
      },
      "categories": {
        "in": [
          "Apparel & Accessories"
        ],
        "not_in": [
          "Shoes"
        ]
      }
    },
    "not_read_within_hours": 1,
    "pages": [
      "https://www.example-store.com/collections/running"
    ],
    "products": "known"
  },
  "store_id": "example-store.com-US"
}'
Response · 200
{
  "budget": 100,
  "cadence": {
    "interval_amount": 1,
    "interval_unit": "day"
  },
  "created_at": "2026-09-28T08:14:03Z",
  "enabled": true,
  "id": "ks7a3m9q2x8c1v6z4t5r0n7wbh2f9pdg",
  "last_run_at": "2026-09-28T08:14:03Z",
  "last_run_id": "kh72p9xq4c8v1m6z3t5r0n8wbd2f4hje",
  "name": "Daily price check",
  "next_run_at": "2026-09-28T08:14:03Z",
  "pause_reason": null,
  "scope": {
    "filters": {
      "brands": {
        "in": [
          "Nike",
          "Jordan"
        ],
        "not_in": [
          "Converse"
        ]
      },
      "categories": {
        "in": [
          "Apparel & Accessories"
        ],
        "not_in": [
          "Shoes"
        ]
      }
    },
    "not_read_within_hours": 1,
    "pages": [
      "https://www.example-store.com/collections/running"
    ],
    "products": "known"
  },
  "store_id": "example-store.com-US",
  "updated_at": "2026-09-28T08:14:03Z"
}