Products & write-backs
A product is an item of the brand’s catalogue: what the AI assistants recommend — or not — and what Skoup compares their claims against (price, stock, specs). Products come from a source: shopify or woocommerce (synchronized from the store, updated in real time), prestashop (synchronized from the store every night), feed (a CSV or Google Shopping feed), crawl (read every night on the store’s public website, for a store without a connector), manual (created in Skoup or through the API, for a stack without a connector) or site (an offering Skoup read on the brand’s own site — a plan, a service — editable like a manual one). For a brand that sells software or runs an establishment (its vertical), the products are its offerings: plans, services, treatments, with the same fields.
A write-back is a change Skoup wrote in the store for a product: its description, its SEO title and description, or the barcode of its variants. It is journaled field by field, with the value it replaced, and can be rolled back from the app for 30 days.
Statuses
draftactivearchivedfailedappliedrolled_backI want to…
| I want to… | Call |
|---|---|
| Search the catalogue | GET /v1/brands/{brand}/products?q=grizl |
| List the manual products | GET /v1/brands/{brand}/products?source=manual |
| List the products synced from WooCommerce | GET /v1/brands/{brand}/products?source=woocommerce |
| List the products synced from PrestaShop | GET /v1/brands/{brand}/products?source=prestashop |
| List the products read on the store’s website | GET /v1/brands/{brand}/products?source=crawl |
| Read one product and its variants | GET /v1/brands/{brand}/products/{product} |
| Add a product (no connector) | POST /v1/brands/{brand}/products |
| Update a manual product | PATCH /v1/brands/{brand}/products/{product} |
| See what Skoup wrote in the store | GET /v1/brands/{brand}/products/{product}/write_backs |
| See how the AI perceive a product | GET /v1/brands/{brand}/products/{product}/perception (metrics:read) |
| Read the address of the product feeds for ChatGPT and Google, and what they hold | GET /v1/brands/{brand}/product-feeds |
Scopes: products:read, products:write. Events: product.created, product.updated, product.deleted, catalog.sync.completed, catalog.sync.failed, write_back.applied, write_back.rolled_back, sheet.validated.
WooCommerce store
A WooCommerce store is connected from the app (Settings › Integrations, or the onboarding): the store owner approves a read/write REST key on WooCommerce’s own screen (pasting a key created in WooCommerce remains a fallback). Skoup then:
- syncs the published catalogue — simple and variable products with their variations — then sends
catalog.sync.completed(sourcewoocommerce); - registers its webhooks on the store (
product.created,product.updated,product.deleted,order.created,order.updated): a product changed in WooCommerce reaches Skoup within seconds and sendsproduct.updated; - imports the last 90 days of paid orders (see Revenue).
Every day, Skoup checks its webhooks again and turns back on the ones WooCommerce disabled; the catalogue is fully resynced at least once a week, and every day while the webhooks are down. A key that stops working moves the integration to needs_reauth (integration.needs_reauth): reconnect the store from the app. Disconnecting it sends integration.disconnected; its products and orders stay, frozen.
PrestaShop store
A PrestaShop store (1.7, 8 or 9) is connected from the app (Settings › Integrations, the Catalogue page or the onboarding) with a Webservice key: PrestaShop has no approval screen like WooCommerce, so the store owner creates the key in the back office (Advanced Parameters › Webservice, « View (GET) » ticked on products, combinations, product_options, product_option_values, categories, configurations, currencies, countries and orders; addresses as well, optional, for the country of orders; « Modify (PUT) » on products and combinations, optional, for write-backs) and pastes it with the store’s address. Skoup checks that the Webservice answers and what the key opens, then:
- syncs the active catalogue — simple products and products with combinations — in the store’s default language and currency, prices including tax, then sends
catalog.sync.completed(sourceprestashop); - imports the valid orders of the last 90 days (see Revenue);
- imports the store’s active countries as markets.
PrestaShop’s core has no webhooks: the catalogue is fully resynced every night around 03:00 UTC and the orders are read again every hour. Skoup writes nothing to a PrestaShop store but write-backs, and only when the key opens « Modify (PUT) » on products and combinations: the description, the SEO title and meta description (description, meta_title, meta_description, in the store’s default language — the other languages do not change) and the ean13 barcode of the product or of each combination. A key that stops working moves the integration to needs_reauth (integration.needs_reauth); disconnecting it sends integration.disconnected, its products and orders stay, frozen.
Catalogue read on the website
A store on neither Shopify, WooCommerce nor PrestaShop (Magento, a custom site…) can have its catalogue read on its public website: enter the site’s address in the app (Catalogue page, Settings › Integrations or the onboarding). Skoup first checks that the site answers, that no anti-bot wall hides it and that its robots.txt lets SkoupBot in (SkoupBot/1.0 (+https://skoup.ai/bot)), then:
- finds the pages through the site’s XML sitemaps (product sitemaps first); without a usable sitemap, it follows the links from the home page;
- reads the product’s structured data on each page: JSON-LD
Product/ProductGroupfirst, then microdata, then OpenGraphproduct:*tags — no AI, nothing is guessed; - sends
catalog.sync.completed(sourcecrawl) and oneproduct.*per product created, updated or removed.
The site is read again every night around 03:00 UTC, incrementally: an unchanged page (same sitemap lastmod, or an HTTP 304 answer) is not read again. Every 7 days, a full pass reads every page. A product keeps its id as long as its canonical URL does not change.
What the site needs: product pages that expose their structured data in the HTML they serve (not only once JavaScript has run), a robots.txt that does not disallow SkoupBot, and no anti-bot challenge on those pages. Removing the site from the app stops the readings; its products stay, frozen.
Scenario: feed Skoup from a Magento catalogue
Without a connector, push your products as manual products and keep them in sync with PATCH:
curl -X POST https://api.skoup.ai/v1/brands/br_034PJIMnN3EOTCU3TMUdLS/products \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc" \
-H "Idempotency-Key: magento-sku-GRZ-CF-SL7" \
-H "Content-Type: application/json" \
-d '{"title":"Grizl CF SL 7","sku":"GRZ-CF-SL7","price":2499,"currency":"EUR","url":"https://nordvelo.fr/grizl-cf-sl-7","category":"Gravel"}'Pricing of an offer
An offer sold as a subscription says what its price buys:
| Field | Meaning |
|---|---|
price | The price of one price_period. |
price_period | month, year or once; null = a one-off price (a store’s product). |
price_annual | The amount of one year, however the site writes it. |
price_unit | flat or per_user (per user, practitioner, seat). |
addons | The options sold on top: name, price (null = on quote), period, unit. 12 at most. |
Skoup reads these fields on the site’s pricing page when it analyses the brand (source site); you correct them in the app or with PATCH. They are the truth a price quoted by an AI is compared with: see the Alerts guide.
Product feeds for ChatGPT and Google
An editor of the brand turns on the feed of a market in the app (Your site › AI readability, the « Checkout inside the AIs » card), for either platform. Skoup writes the catalogue in its format and serves it at a secret address the merchant pastes on the platform’s side. Skoup connects to no OpenAI or Google account.
format | Platform | File | Where to paste the address |
|---|---|---|---|
openai | ChatGPT | JSON Lines (.jsonl), one line per variant | OpenAI’s Business Hub |
google_merchant | Google Shopping and the surfaces that read Merchant Center | RSS 2.0 with the g: namespace (.xml), one <item> per variant | Merchant Center, a product data source with a scheduled fetch (daily at most) |
- On: the address (
url) answers with the last snapshot. It is rewritten after every catalogue sync (catalog.sync.completed), on every settings change and as soon as a read finds it older than the catalogue. - Off: the address answers
410; turned on again, it is the same address. - New address: the old one answers
404right away; paste the new one on the platform’s side.
Correct in the feed
When Skoup cannot write to the store (a catalogue read from the site or imported as CSV, a store without the write grant) or the merchant would rather not touch it, an editor can write for the feeds only a product’s description (proposed from its validated identity sheet, read before sending) or a variant’s barcode. Every active feed of the brand serves it instead of the catalogue’s; the store does not change. As soon as the merchant changes that field in the catalogue, the catalogue wins and the correction is no longer served. A product left out for its description comes back into the feed this way, and the AI readability score counts it. Correcting and removing a correction happen in the app; the API does not expose them.
The product_feed object (pfd_…) says what the last snapshot holds: rows (lines served), skipped and skipped_counts (products left out by reason: missing_title, missing_description, missing_link, missing_image, missing_price, other_currency, and unknown_availability for Google), fetch_count and last_fetched_at (reads of the address). The API only reads: turning on, settings and a new address happen in the app, where a person decides to publish the catalogue.
Pitfalls
- Synced products are read-only. PATCH on a
shopify,woocommerce,feedorcrawlproduct answers422 resource_read_only: the store is the truth, fix it there — Skoup picks the change up. - Delete the PrestaShop key yourself. After disconnecting the store, delete the key in PrestaShop › Advanced Parameters › Webservice: Skoup forgets it, but it stays active on your side.
- A PrestaShop product change arrives with the nightly sync, not in real time (no webhooks in PrestaShop). Only active products visible in the store are read; the GTIN is the
ean13, else theupc; the category is the default category (never « Home »). - The price of a PrestaShop combination is the combination’s impact on the base price, taxed and reduced like the product: a price rule set on one combination only is not seen.
- Without URL rewriting, the Webservice answers on
/webservice/dispatcher.php: Skoup finds it on its own. - Revoke the WooCommerce key yourself. WooCommerce has no API to revoke a key: after disconnecting the store, delete the « Skoup » key in WooCommerce › Settings › Advanced › REST API. Skoup removes its webhooks itself.
- WooCommerce disables a webhook after 5 failed deliveries, without telling anyone. Skoup turns it back on within a day; until then, a product change reaches Skoup with the next sync.
- The GTIN of a WooCommerce product is read from the native field (WooCommerce 9.2 or later), else from the
_gtinmeta of a GTIN plugin;gtinstaysnullwithout either. Grouped and external (affiliate) products are not synced. - On WooCommerce, the SEO title and meta description need an SEO extension. Skoup writes them as Yoast SEO or Rank Math meta; on a store running neither, only the description and the barcodes (
global_unique_id, WooCommerce 9.2+) are written. WooCommerce refuses a GTIN already used by another product. - On PrestaShop, a write-back sends the whole product back. The Webservice takes no partial update: Skoup reads the product (or the combination) again, removes the read-only fields and the associations (categories, images and combinations stay as they are), changes the field and sends it all back. The barcode goes to
ean13, 13 digits at most: a GTIN-14 is refused before the call. A key without « Modify (PUT) » blocks the write-back withmissing_scope: tick it on the key, then reconnect the store with the same key. - PrestaShop refuses
< > = { }in the SEO title and meta description. Skoup refuses the write-back before the call: remove these characters. - On PrestaShop, a product’s barcode can be part of its URL. The default product route (
…-{rewrite}{-:ean13}.html) carries theean13: writing it on a product without combinations changes its page address, the old one redirects to the new one. The preview says so. - A product page without structured data yields no product. Skoup reads neither the text nor the layout: without JSON-LD, microdata or OpenGraph
product:*tags, the reading ends with 0 products and the app says so. Add a JSON-LDProduct(most themes and SEO plugins do), it is read the next night. - An anti-bot wall stops the reading. A Cloudflare challenge, a 403 or a run of 429s on the pages stop the reading: allow SkoupBot in the site’s protection tool.
- A page that is down does not remove its product. A timeout, a 5xx or a 429 keep the product as it was last read; only a 404 / 410, a page gone from the sitemap or a page that no longer exposes a product remove it (
product.deleted). A reading that finds fewer than half the products of the previous one (from 10 products) keeps the catalogue as it was and flags it in the app. - Events of a catalogue read on the website carry
source: "crawl", like the product’ssource: filter on it if you handle products coming from a connector differently. - Write-backs are not applied through the API. A person validates the diff in the app before anything reaches a storefront; the API only reads the journal.
- An incomplete product stays out of the product feed. It misses a field OpenAI asks for (image, price, description…): Skoup leaves it out rather than make the value up, and never converts a price — a product in another currency than the market’s is left out (
other_currency). Fix the product, the feed follows at the next sync. - A feed correction does not survive a catalogue change. Written with « Correct in the feed », it is served only while the catalogue still says what it said when it was written: change the field at the source, and the source goes into the feed.
- ChatGPT takes only the United States, Canada and Mexico today. A feed for another market still turns on and is served:
platform_serves_marketisfalseuntil OpenAI opens it. Google Merchant Center takes every Skoup market but China. - Google does not accept an unknown availability. A product whose stock is not tracked is left out of the Google feed (
unknown_availability), unless the merchant declares « in stock » by default in the feed settings; the ChatGPT feed writes itunknown. - The Google feed carries neither shipping nor returns. Google asks for them in France: set them in Merchant Center. Gender and age group (apparel) are never guessed; colour and size come from a variant option named so (« Color », « Size »…).
- The feed address is the only secret. Whoever has it reads the catalogue: do not log it, and renew it in the app if it leaked.
- A product removed at the source emits
product.deleted; it comes back withproduct.createdif it reappears. price_annualis always a yearly amount. A site showing “€32/month billed yearly” isprice_annual: 384. Skoup then accepts both “€32/month” and “€384/year” in an AI answer.- Add-ons widen the high bound, never the price. An add-on on quote (
price: null) leaves the pricing open-ended: only an answer under the offer’s price is wrong. - A perception gap comes with its proof.
gaps[]of the product’s perception lists each distorted, false or absent element with up to threeoccurrences(one per model first): model, query, date, the passage of the answer (excerpt,nullwhen the answer’s own words could not be found — never another passage instead) and the fullanswerwhile it is kept (16 weeks). A gap set aside (status: ignored, throughPOST …/inbox/dismissor the app) is out ofscore. - Test mode: creations are rolled back; read the sandbox’s Nordvelo catalogue instead.