Draft, edit, and publish posts. Content can be sent as HTML or as the same block tree the visual editor uses, so a post an agent writes stays editable by hand afterwards.
list_cms_postsget_cms_postcreate_cms_postupdate_cms_postpublish_cms_postunpublish_cms_postdelete_cms_postlist_cms_categoriescreate_cms_categoryupdate_cms_categorydelete_cms_category
Create a product, define its option axes like Size or Colour, and generate every combination as a priced, trackable variant. Price and stock can be set per variant or across the whole product, absolutely or as a relative adjustment, so restocking a line doesn't mean recomputing every number by hand.
list_commerce_productsget_commerce_productcreate_commerce_productupdate_commerce_productdelete_commerce_productset_commerce_product_optionsgenerate_commerce_variantslist_commerce_variantscreate_commerce_variantupdate_commerce_variantdelete_commerce_variantupdate_commerce_priceupdate_commerce_inventory
Group products into collections and control their order, and read or update store-level settings: name, default currency, notification emails, appearance, SEO, shipping, and tax. Payment gateway credentials stay out of reach here entirely - connecting Stripe or Razorpay is done once, by hand, in the dashboard.
list_commerce_collectionsget_commerce_collectioncreate_commerce_collectionupdate_commerce_collectiondelete_commerce_collectionadd_products_to_commerce_collectionremove_products_from_commerce_collectionset_commerce_collection_productsget_commerce_settingsupdate_commerce_settings
Model a collection, define its fields, then fill it. Fields can be text, rich text, image, link, datetime, switch, option, reference, map, HTML, multi-image, or video, so a directory holds real data rather than flat pages.
list_directory_collectionscreate_directory_collectionupdate_directory_collectiondelete_directory_collectionlist_directory_fieldscreate_directory_fieldupdate_directory_fielddelete_directory_fieldlist_directory_itemsget_directory_itemcreate_directory_itemupdate_directory_itemdelete_directory_item
Read the structure of a site, add pages, and update the ones already there. Every call is scoped to a project, so an agent works on one site at a time.
list_projectsget_project_detailslist_pagesget_pageadd_pageupdate_page
Upload images and files through signed URLs, then reference them from posts, listings, and pages.
list_assetsget_assetget_asset_upload_urlsdelete_assets
Keep URLs intact after a restructure, and read or replace the custom head and body code on a site.
list_url_redirectscreate_url_redirectupdate_url_redirectdelete_url_redirectget_custom_codeupdate_custom_code
Read traffic figures, and push everything live. Nothing an agent changes reaches visitors until a publish call runs, so drafting and shipping stay separate decisions.
get_analytics_umamipublish_project