ShopAPI
API
The API for interacting with shop.
Anchor to standardapiStandardApi
The base API object provided to purchase
extension targets.
Anchor to shop
shop
required
The shop where the checkout is taking place.
Was this section helpful?
Anchor to useShopuse Shop()
use Shop()
Returns the shop
where the checkout is taking place.
Anchor to useShop-returnsReturns
Shop
id
string
The shop ID.
myshopifyDomain
string
The shop's myshopify.com domain.
name
string
The name of the shop.
storefrontUrl
string
The primary storefront URL.
Caution
> As of version 2024-04
this value will no longer have a trailing slash.
Was this section helpful?