create_catalog
Make a product catalog in a space: things bought or wanted from any store — a shopping history, a wish list, gift ideas, the kit for a new office. People see a store-style grid of cards (picture, title, store, rating, price, status) with search, filters and totals, and open a product to its own page: its pictures on the left; its price, store, button to its page, status, order, details, reviews (links to reviews elsewhere) and links (manual, warranty) on the right; its related products in a row under it. They comment on a product. Everything about a product comes from its page at the store (or the order, receipt or email the person gave you), and every review, related product and link from a page you read, never from memory. What you leave out, Artifacts fills from the url's page where the page offers it (its preview tags and schema.org product data: the title, pictures, store, brand, price, rating); filled_from_pages says what it filled. Some stores offer only a title, or nothing. Read guide topic "catalog" first; check it with render_catalog.
Parameters
space_idstringrequiredtitlestringrequiredsubtitlestringproductsobject[]Show child attributes
titlestringurlstringimagesstring[]brandstringstorestringpricenumberlist_pricenumbercurrencystringquantityintegerstatusstringcategorystringdatestringorder_idstringratingnumberrating_countintegersummarystringfeaturesstring[]specsobject[]Show child attributes
labelstringrequiredvaluestringrequiredreviewsobject[]Show child attributes
titlestringrequiredurlstringrequiredsourcestringscorestringexcerptstringauthorstringdatestringrelatedobject[]Show child attributes
titlestringrequiredurlstringrequiredimagestringpricenumbercurrencystringstorestringratingnumberrating_countintegerrelationstringlinksobject[]Show child attributes
labelstringrequiredurlstringrequiredread_catalog
A product catalog as it is now: title, subtitle, totals (the spend by currency, how many per status and per store), and every product in order with its id (what update_catalog and comment take) and all its fields, its reviews, related products and links included.
Parameters
item_idstringrequiredupdate_catalog
Change a product list. Any of: title, subtitle; add_products (after the others); change_products (by id: the fields you give replace those fields — images, features, specs, reviews, related and links as whole lists —; "" or [] clears one); remove_products (ids); order_products (every id, in the new order). Applied in that order, all or nothing. Everything about a product comes from its page at the store (or the order, receipt or email the person gave you), and every review, related product and link from a page you read, never from memory. What you leave out, Artifacts fills from the url's page where the page offers it (its preview tags and schema.org product data: the title, pictures, store, brand, price, rating); filled_from_pages says what it filled. Some stores offer only a title, or nothing. read_catalog first for the ids — people may have changed it.
Parameters
item_idstringrequiredtitlestringsubtitlestringadd_productsobject[]Show child attributes
titlestringurlstringimagesstring[]brandstringstorestringpricenumberlist_pricenumbercurrencystringquantityintegerstatusstringcategorystringdatestringorder_idstringratingnumberrating_countintegersummarystringfeaturesstring[]specsobject[]Show child attributes
labelstringrequiredvaluestringrequiredreviewsobject[]Show child attributes
titlestringrequiredurlstringrequiredsourcestringscorestringexcerptstringauthorstringdatestringrelatedobject[]Show child attributes
titlestringrequiredurlstringrequiredimagestringpricenumbercurrencystringstorestringratingnumberrating_countintegerrelationstringlinksobject[]Show child attributes
labelstringrequiredurlstringrequiredchange_productsobject[]Show child attributes
idstringrequiredtitlestringurlstringimagesstring[]brandstringstorestringpricenumberlist_pricenumbercurrencystringquantityintegerstatusstringcategorystringdatestringorder_idstringratingnumberrating_countintegersummarystringfeaturesstring[]specsobject[]Show child attributes
labelstringrequiredvaluestringrequiredreviewsobject[]Show child attributes
titlestringrequiredurlstringrequiredsourcestringscorestringexcerptstringauthorstringdatestringrelatedobject[]Show child attributes
titlestringrequiredurlstringrequiredimagestringpricenumbercurrencystringstorestringratingnumberrating_countintegerrelationstringlinksobject[]Show child attributes
labelstringrequiredurlstringrequiredremove_productsstring[]order_productsstring[]render_catalog
See a product catalog as people do: a screenshot of the grid of cards, and with product (an id) that product's own page as it opens — pictures, price, details, reviews, links and its row of related products. Plus checks — products without a picture, a url or a price, the same url twice, a status written two ways — and errors the page hit. Look at every picture: one that does not load shows as a broken or empty tile.
Parameters
item_idstringrequiredproductstring