SubblySubbly
Log inGet started
  • Get started
  • Developer resources
Private API reference
Docs
Information
    Base URLAuthenticationPaginationErrors
Customer
    Get list of customersCreate a customerGet customer by IDUpdate a customerDelete a customerChange a customer's store credit balanceCreate a customer noteUpdate a customer noteDelete a customer note
Address
    Create an addressUpdate an addressDelete an address
Pickup Info
    Get list of pickup infoCreate pickup infoUpdate pickup infoDelete pickup info
Subscription
    Get list of subscriptionsCreate a subscriptionGet subscription by IDUpdate a subscriptionCancel a subscriptionUndo cancellationPause a subscriptionResume a subscriptionSkip renewals until a dateReactivate a cancelled or expired subscriptionSwitch the subscription to another plan by starting overChange the plans of the subscription's itemsUpdate a subscription's shipping address and methodUpdate a subscription's payment methodUpdate a subscription's survey preferencesCreate a subscription itemShow a subscription itemUpdate a subscription itemRemove a subscription itemUpdate a subscription item's preferencesUpdate a subscription item's bundleChange the plan of a subscription itemChange the variant of a one-time itemApply a discount to a subscription itemRemove a subscription item discountApply a discount to a subscriptionRemove a subscription discount
Invoice
    Get list of invoicesGet invoice by IDSchedule the next payment for invoiceVoid an invoiceForgive an invoiceMark an invoice as paid
Order
    Get list of ordersGet order by IDUpdate an orderShip an orderCancel an orderMark an order as pendingArchive an orderMark an order as a future shipmentSync order shipping items
Payment Method
    Create a payment methodGet payment method by IDDelete a payment method
Transaction
    Get list of transactionsGet transaction by ID
Cancellation
    Get shop cancellation reasonsAdd a cancellation reasonRename a cancellation reasonDelete a cancellation reason
Product
    Get list of productsGet product by IDGet variant by IDUpdate variantGet plan by IDUpdate planCreate subscription productUpdate subscription productPublish subscription productUnpublish subscription productArchive subscription productSync subscription product metadataCreate one-time productUpdate one-time productPublish one-time productUnpublish one-time productArchive one-time productSync one-time product metadataCreate variantArchive variantBatch create/update/archive variantsCreate planArchive plan
Survey
    Get survey by IDGet list of surveys
Bundle
    Get list of bundlesCreate a new bundleGet bundle by IDUpdate a bundleGet list of bundle itemsCreate a bundle itemBatch create bundle itemsGet bundle item by IDUpdate a bundle itemDelete a bundle itemGet list of bundle groupsPublish a bundleUnpublish a bundleArchive a bundleSync bundle metadataCreate a bundle planGet bundle plan by IDUpdate a bundle planArchive a bundle plan
Tag
    Get list of tags
Metafield
    Get shop's metafieldsCreate a new metadataUpdate the metadataDelete a metafield
Metaobject
    List metaobjectsCreate a metaobjectGet a metaobjectUpdate a metaobjectDelete a metaobjectList the entries of a metaobjectCreate a metaobject entryGet a metaobject entryUpdate a metaobject entryDelete a metaobject entry
Funnel
    Get list of funnelsGet funnel by ID
Option
    Get list of options
Country
    Get list of countries
Currency
    Get list of currencies
Inventory
    Get list of inventory itemsCreate a new inventory itemGet inventory item by IDUpdate an inventory itemArchive an inventory itemGet list of inventory groupsCreate a new inventory groupGet inventory group by IDUpdate an inventory group
Coupon
    Get list of couponsCreate a couponGet coupon by IDUpdate a couponArchive a coupon
Custom Tax
    Get list of custom taxesCreate a custom taxGet a custom taxUpdate a custom taxDelete a custom taxPublish a custom taxUnpublish a custom taxGet list of custom tax groupsCreate a custom tax groupGet a custom tax groupUpdate a custom tax groupDelete a custom tax group
Product Collection
    Get list of product collectionsCreate a product collectionGet product collection by IDUpdate a product collectionPublish a product collectionUnpublish a product collectionArchive a product collectionGet list of collection groups with itemsSync collection items
Webhook
    Get list of webhook endpointsCreate a webhook endpointGet webhook delivery statisticsGet a webhook endpointUpdate a webhook endpointDelete a webhook endpointRotate the signing secretSend a test eventGet webhook deliveriesGet a delivery with its attemptsRetry a delivery manuallyGet the webhook event logGet one event with its deliveries across endpointsGet the catalogue of subscribable event types
Email Unsubscribe
    Unsubscribe an email address from marketing mail
Shipping
    Get list of shipping rulesCreate a shipping ruleGet shipping rule by IDUpdate a shipping ruleDelete a shipping rulePublish a shipping ruleUnpublish a shipping ruleGet list of shipping optionsCreate a shipping optionGet shipping option by IDUpdate a shipping optionDelete a shipping optionPublish a shipping optionUnpublish a shipping optionGet list of local pickupsCreate a local pickupGet local pickup by IDUpdate a local pickupDelete a local pickupPublish a local pickupUnpublish a local pickupGet list of local deliveriesCreate a local deliveryGet local delivery by IDUpdate a local deliveryDelete a local deliveryPublish a local deliveryUnpublish a local deliveryGet list of shipping methodsGet a shipping method
Team Member
    Get list of team membersAdd a team memberGet team member by IDUpdate a team memberRemove a team member
Shop
    Get the shop
Shop Settings
    Update the shop settings
Shop Owner
    Update the shop owner
Gateway
    Get list of gatewaysGet gateway by ID
Referral Program
    Update the referral program
ShopCurrency
    Get the shop currenciesAdd a shop currencyGet a shop currencyUpdate a shop currencyRemove a shop currencyPublish a shop currencyUnpublish a shop currency
StorefrontTranslation
    Get the storefront translationsAdd a storefront translationGet a storefront translationUpdate a storefront translationRemove a storefront translationPublish a storefront translationUnpublish a storefront translationMake a storefront translation primaryGet a storefront translation's textsUpdate a storefront translation's texts
Gift Card
    Get list of gift cardsIssue a gift cardGet gift card by IDUpdate a gift cardCancel a gift card
Metric
    Get list of metricsGet a metric

Shop

Private Shop API endpoints

Endpoints
  • GET/shop

Get the shop

GET /shop

The shop the API key or connection acts on: its base currency, primary gateways and primary translation, its Subbly plan and what changes next, the features it can use, its usage against that plan's limits, and its owner, referral_program and settings exactly as PATCH /shop/owner, PATCH /shop/referral-program and PATCH /shop/settings return them.

ReturnsShop

Shop object response

Error responses

400object

The shop has no base currency (base_currency_missing).

401object

The X-API-KEY header is missing or the key is invalid (invalid_api_key), or the shop has no active Subbly subscription (inactive_subscription).

curl https://api.subbly.co/private/v1/shop \ -H 'X-API-KEY: <api-key>'
Response
{ "id": 1042, "base_currency_code": "USD", "primary_gateways": { "card_gateway": { "id": 12, "provider": "stripe", "test": false, "currencies": [ "USD", "EUR" ], "stripe": { "account_id": "acct_1NxAbC2eZvKYlo2C", "country_code": "GB" }, "braintree": { "merchant_id": "x7k2m9q4w8r3t6y1", "paypal_enabled": true }, "paypal": { "merchant_id": "J5T8KX9WQZ3LN" }, "authorize_net": { "api_login_id": "5KP3u95bQpv" }, "created_at": "2024-03-01T10:00:00.000000Z" }, "paypal_gateway": { "id": 12, "provider": "stripe", "test": false, "currencies": [ "USD", "EUR" ], "stripe": { "account_id": "acct_1NxAbC2eZvKYlo2C", "country_code": "GB" }, "braintree": { "merchant_id": "x7k2m9q4w8r3t6y1", "paypal_enabled": true }, "paypal": { "merchant_id": "J5T8KX9WQZ3LN" }, "authorize_net": { "api_login_id": "5KP3u95bQpv" }, "created_at": "2024-03-01T10:00:00.000000Z" } }, "primary_translation": { "id": 381, "name": "English", "code": "en", "currency_symbol_position": "before", "published": true, "primary": true, "created_at": "2026-01-05T09:00:00.000000Z", "updated_at": "2026-01-06T09:00:00.000000Z" }, "plan": { "name": "Max", "status": "active", "interval": "month", "trial_ends_at": null, "renews_at": "2026-12-03T00:00:00.000000Z", "cancels_at": null, "next_plan": { "name": "Subbly", "interval": "month", "starts_at": "2026-12-03T00:00:00.000000Z" }, "transaction_fees": { "stripe_percent": 1, "other_gateways_percent": 1.25, "referral_extra_percent": 1, "fixed": { "amount": 19, "currency_code": "USD" } }, "addons": [ {} ] }, "features": { "live_payments": true, "gift_cards": true, "configurable_bundles": true, "multiple_subscription_products": false, "commitment_billing": true, "cut_off_time": true, "optional_pause": true, "advanced_coupons": true, "cancellation_reasons": true, "referral_program": true, "custom_renewal_time": true, "custom_skipping_max_cycles": true, "multiple_currencies": true, "custom_translation_texts": true, "custom_taxes": true, "custom_checkout": true, "customer_portal": false }, "limits": { "team_members": {}, "referrals": {}, "out_of_stock_notifications": {}, "inventory_items": {}, "shipping_rules": {}, "shipping_options": {}, "local_deliveries": {}, "local_pickups": {}, "translations": {} }, "owner": { "first_name": "Maya", "last_name": "Okafor", "email": "maya@northfieldcoffee.com", "phone": "+13232380656", "company": {} }, "referral_program": { "enabled": true, "referrer_credit": 1000, "referee_credit": 500 }, "settings": { "business": {}, "localization": {}, "gateways": {}, "tax": {}, "storefront": {}, "branding": {}, "products": {}, "renewals": {}, "dunning": {}, "analytics": {}, "team": {}, "tracking": {} } }
idinteger

The shop's ID, the shop_id of webhook events.

base_currency_codestring

The base currency, the one the shop's prices are set in. Amounts in minor units, such as the referral program's credits, are in this currency.

primary_gatewaysobject

Read-only: the gateways that take base-currency card and PayPal payments.

primary_translationStorefrontTranslation | null

Read-only: the storefront translation checkout and the customer portal show first. null when the shop has none.

planSubblyPlan

The shop's Subbly plan, the plan the shop has with Subbly, and the next Subbly plan when one is waiting. Every key is always present.

featuresShopFeatures

Whether the shop can use each plan-limited ability. Every key is always present and is never renamed or removed. A request that needs a false feature is refused, unless the key says otherwise.

limitsShopLimits

The shop's usage against its Subbly plan's limits. Every key is always present.

ownerShopOwner
referral_programReferralProgram

The shop's referral program. A shop that never saved it reads disabled with zero credits.

settingsShopSettings

The shop's settings, grouped by area. Every group and every key is always present.