Skip to content

Update a Store

PATCH/v1/stores/{store_id}

Mark the Store as one of the organization's own stores, or clear the mark.

Request

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

Store ID

own
body · boolean · required

Whether the Store is one of the organization's own stores.

Response

200 OK · application/json

Store updated

country
string

An assigned ISO 3166-1 alpha-2 country code, in its canonical upper case.

pattern ^[A-Z]{2}$
crawler
StoreCrawler

What reads the Store's pages for its Runs.

redirected_to
string · nullable

With a redirected refusal, the host the store's page landed on.

refusal
string · nullable

Set when the build refused the store; the crawler is then failed.

Known values: not_store, unreachable, redirected, needs_scale, shared_host, unavailable. Others may be added.

status
CrawlerStatus

Where a Store's crawler stands. Runs and Schedules take only a Store whose crawler is ready.

one of none · pending · building · ready · failed
status_reason
string · nullable

What the crawler waits for, or why it failed, in words.

created_at
string
date-time
host
string

The store's host, lower case and without www..

id
string

{host}-{COUNTRY}, the store_id every Run, PDP and analytics answer names it by. It never changes.

language
string · nullable

The language of the store's page, as its check read it; null until checked.

pattern ^[a-z]{2}$
own
OwnStore · nullable

Set when the Store is one of the organization's own stores.

source
OwnStoreSource

Who marked the Store as one of the organization's own stores.

one of user · connector
platform
string · nullable

Null until the store is checked.

Known values: shopify, woocommerce, wix, salesforce, other. Others may be added.

run_count
integer
int64 · ≥ 0
state
StoreState · nullable

The Store's current Listings, offers, freshness and cheapest-price share, which GET /v1/stores and GET /v1/stores/{store_id} read. Null in the responses of changes and in webhooks, and before a first read of the store's pages.

active_listings
integer
int64 · ≥ 0
available_offers
integer
int64 · ≥ 0
cheapest_share
number · nullable

Cheapest Variants over comparable ones; null without a comparable Variant.

double
cheapest_variant_count
integer

Comparable Variants where this Store's lowest price is the lowest observed; ties count for every Store at the lowest price.

int64 · ≥ 0
comparable_variant_count
integer

Variants this Store and at least one other Store of the same country and currency both offer new and available, from Listings that are not stale.

int64 · ≥ 0
currencies
string[]
pattern ^[A-Z]{3}$
current_offers
integer
int64 · ≥ 0
latest_observed_at
string · nullable

Latest read of an active Listing.

date-time
stale_listings
integer
int64 · ≥ 0
unavailable_offers
integer
int64 · ≥ 0
unknown_offers
integer
int64 · ≥ 0
unmatched_sku_count
integer

SKUs on their page not matched to a Variant yet, so not in the cheapest share.

int64 · ≥ 0
tracked
boolean

Whether the Store is in the Stores list. Untracking hides it and keeps its data; adding it again tracks it again.

updated_at
string
date-time

Errors

ErrorResponse

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

400

Invalid input, or the organization already marks the most own stores it can

402

An active subscription is required for this operation

404

Store not found

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/stores/example-store.com-US' \
  -H "Authorization: Bearer $EXTRALT_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "own": true
}'
Response · 200
{
  "country": "US",
  "crawler": {
    "redirected_to": null,
    "refusal": null,
    "status": "ready",
    "status_reason": null
  },
  "created_at": "2026-09-28T08:14:03Z",
  "host": "example-store.com",
  "id": "example-store.com-US",
  "language": "en",
  "own": {
    "source": "user"
  },
  "platform": "shopify",
  "run_count": 4,
  "state": {
    "active_listings": 0,
    "available_offers": 0,
    "cheapest_share": 0,
    "cheapest_variant_count": 0,
    "comparable_variant_count": 0,
    "currencies": [
      "USD"
    ],
    "current_offers": 0,
    "latest_observed_at": "2026-09-28T08:14:03Z",
    "stale_listings": 0,
    "unavailable_offers": 0,
    "unknown_offers": 0,
    "unmatched_sku_count": 0
  },
  "tracked": true,
  "updated_at": "2026-09-28T08:14:03Z"
}