Repository navigation
chore(SCR-764): remove retired Shopping product/click docs, add Shopping offers API reference - #222
Merged
Merged
Conversation
…, add the offers reference (SCR-764) GET /v1/google/shopping/product and GET /v1/google/shopping/product/click answer 404 (retired by monorepo migrations 059/060), but the docs still listed both; a customer called them from here (SB-001278). Removed: - api-reference/google/google-shopping/resolve-merchant-url-for-a-product and .../product-details (the latter documented GET /v1/google/shopping/product), and the google/shopping-click-enrichment guide, with their nav entries. - Both paths from openapi-google.json, with the schemas only they used (ShoppingClickResponse, ShoppingProductResponse, ShoppingProductDetail, ShoppingSeller) and the click_link field of ShoppingProductResult. - shopping.click()/shopping-click/google_shopping_product_click from the Google overview, CLI pages, MCP overview and eight MCP integration pages. Added: - GET /v1/google/shopping/offers in openapi-google.json (parameters from the live route: barcode, catalog_id, gl, hl, domain; ShoppingOffersResponse and ShoppingOffer schemas; 400/404/422/502 responses) and its API reference page api-reference/google/google-shopping/offers, next to search-products. The offers[].link description is provisional and carries a TODO(SCR-764) marker (an x-todo key in the spec, an MDX comment on the page). - Permanent redirects: the click guide to google/shopping-offers, the resolve-merchant-url page to the new offers page, and product-details to google-products/immersive-product-detail. Checked: mint broken-links (no broken links), mint openapi-check (valid), scripts/check_credit_costs.py (match), and two runs of scripts/sync_endpoint_lifecycle.py against the live catalog leave the tree unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…irect as fallback); stock/delivery in extensions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GET /v1/google/shopping/productandGET /v1/google/shopping/product/clickanswer 404. They were retired by monorepo migrations 059/060, but these docs still listed both, and a customer called them from here (SB-001278). Linear: SCR-764.Removed
api-reference/google/google-shopping/resolve-merchant-url-for-a-productand.../product-details. Note thatproduct-detailsdocumented the retiredGET /v1/google/shopping/product, notproducts/detail.google/shopping-click-enrichmentguide.openapi-google.json, together with the schemas only they used (ShoppingClickResponse,ShoppingProductResponse,ShoppingProductDetail,ShoppingSeller) andclick_linkonShoppingProductResult.shopping.click(),shopping-click,shopping-productandgoogle_shopping_product(_click)from the Google overview, the CLI pages, the MCP overview and eight MCP integration pages. Those pages now useshopping.offers/products.detail,shopping-offersandgoogle_shopping_offers.Added
GET /v1/google/shopping/offersinopenapi-google.json, inserted where the removed paths were.barcode,catalog_id,gl,hl(defaulten) anddomain.ShoppingOffersResponseandShoppingOfferschemas.catalog_id) and 502.api-reference/google/google-shopping/offers, placed in the Shopping nav group aftersearch-products.offers[].linkis described as "the merchant's product page URL". That wording is provisional because the field's contents are changing. It is marked with anx-todokey next to the description in the spec (ShoppingOffer.link) and an MDX comment above the field table on the page. Finalize both and drop the markers before merging./google/shopping-click-enrichment→/google/shopping-offers/api-reference/google/google-shopping/resolve-merchant-url-for-a-product→/api-reference/google/google-shopping/offers/api-reference/google/google-shopping/product-details→/api-reference/google/google-products/immersive-product-detailChecks
mint broken-links: no broken links.mint openapi-check openapi-google.json: valid.scripts/check_credit_costs.py: selftest passes and all costs match.scripts/sync_endpoint_lifecycle.py .against the live catalog: two runs leave the tree unchanged (the baseline on clean main was also unchanged). The live catalog still lists the two retired paths asactiveuntil the monorepo PR's portal-api deploy. Nothing in the docs declares them any more, so the sync has nothing to do either way.Related PRs (SCR-764), merge in this order:
🤖 Generated with Claude Code