What it does
A site's shop: started (whether the site has a shop; one can be built before Stripe), connection (the Stripe account it sells through, with state onboarding, pending, active, restricted or disconnected, or null), can_sell (checkout works), fee (Pagehive's cut on the goods on this plan), currency, automatic_tax, ship_countries (where it ships; ship_countries_default when that is the Stripe account's country), products_table, variants_table, shipping_table and discounts_table (the site tables that hold the catalog, shipping rates and discount codes), last_checkout_error, next_step, and setup_url: the owner's Shop tab in /hive, where a new Stripe account is connected or its setup finished. Needs can_shop.
Plans
Needs a paid plan: Pro or Ultra. On other plans your agent gets an error that says so. See Limits for what each plan includes.
Parameters
| Name | Type | About |
|---|---|---|
site_idrequired | string | The id of the site. list_sites gives the ids of your sites. |
Example
Call get_site_shop with these arguments:
{
"site_id": "01a1…"
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- Connect Stripe and get paidSet up Stripe once, then sell on as many sites as you like.
- Products, variants and stockYour catalog lives in tables your agent fills in.