Skip to content
BolderBolder Developers
Esc
↑↓navigate↵open⌘Jpreview
On this page

Bolder API v2

Getting Started

The Bolder API provides programmatic access to your Bolder Shop data through a hypermedia-driven REST interface.

Fastest path — Personal Access Token

For scripts, CLI tools, and personal automation, skip the OAuth grant dance entirely:

  1. Go to https://start.onbolder.com/dev/credentials and sign in. The first visit auto-creates a default developer application for your account — there’s nothing to register.
  2. Under Personal Access Tokens, create a new token: pick the scopes you need (see Token scopes below) and an expiry.
  3. Copy the token — it’s shown once.
export BOLDER_TOKEN=PASTE_YOUR_TOKEN_HERE

curl -H "Authorization: Bearer $BOLDER_TOKEN" https://api.onbolder.com/v2

All curl examples in this documentation use $BOLDER_TOKEN. Set it once in your shell and every example works immediately. See Personal Access Tokens below for details on expiry and revocation.

Building a real integration — register an OAuth application

If you’re building something you’ll distribute to other Bolder merchants (rather than automating your own account), register a dedicated application instead of using a PAT:

Go to https://start.onbolder.com/dev/credentials, sign in, and create a new application. You’ll receive a CLIENT_ID and CLIENT_SECRET. The fastest way to get a token from a terminal is the Client Credentials grant:

export BOLDER_TOKEN=$(curl -s \
  -X POST https://auth.onbolder.com/oauth/token \
  -d "grant_type=client_credentials&client_id=CLIENT_ID&client_secret=CLIENT_SECRET&scope=products.read,orders.read,orders.write" \
  | jq -r .access_token)

No jq? Use Python instead:

export BOLDER_TOKEN=$(curl -s \
  -X POST https://auth.onbolder.com/oauth/token \
  -d "grant_type=client_credentials&client_id=CLIENT_ID&client_secret=CLIENT_SECRET&scope=products.read,orders.read,orders.write" \
  | python3 -c "import sys,json; print(json.load(sys.stdin)['access_token'])")

Note: Unlike PATs, these tokens last one hour and come without a refresh token. Re-run the request above when your token expires.


Authentication

The Bolder API uses OAuth 2.0. The token must be sent in the Authorization header — query-parameter tokens are not accepted by v2.

The API answers CORS requests from any origin (Access-Control-Allow-Origin: *, no cookies), so a browser app can call it directly with its Bearer token.

These grant types are supported:

1. Authorization Code (web apps with a server)

Redirect the user to the authorization endpoint and exchange the returned code for tokens on your server.

GET https://auth.onbolder.com/oauth/authorize
  ?client_id=YOUR_CLIENT_ID
  &redirect_uri=https://yourapp.com/callback
  &response_type=code
  &scope=products.read,orders.read,orders.write
  &state=RANDOM_VALUE

The user is sent back to the application’s registered redirect URI (on http://localhost / 127.0.0.1 the redirect_uri you send may use any port) with code and your state. The code is valid for 30 minutes. Exchange it:

POST https://auth.onbolder.com/oauth/token
Content-Type: application/x-www-form-urlencoded

grant_type=authorization_code
&client_id=YOUR_CLIENT_ID
&client_secret=YOUR_CLIENT_SECRET
&redirect_uri=https://yourapp.com/callback
&code=RETURNED_CODE

2. Authorization Code with PKCE (browser and mobile apps, no secret)

An app that runs in the browser can’t keep a client_secret. Any application can use the code grant with PKCE instead: generate a random code_verifier (43-128 characters), send its SHA-256 hash as the challenge, and prove you hold it when exchanging the code. Only S256 is supported.

GET https://auth.onbolder.com/oauth/authorize
  ?client_id=YOUR_CLIENT_ID
  &redirect_uri=https://yourapp.com/callback
  &response_type=code
  &scope=orders.read_own,orders.write_own
  &state=RANDOM_VALUE
  &code_challenge=BASE64URL(SHA256(code_verifier))
  &code_challenge_method=S256
POST https://auth.onbolder.com/oauth/token
Content-Type: application/x-www-form-urlencoded

grant_type=authorization_code
&client_id=YOUR_CLIENT_ID
&code=RETURNED_CODE
&code_verifier=YOUR_CODE_VERIFIER

No client_secret is sent; a wrong verifier answers 400. The browser can call the token endpoint directly: its response carries Access-Control-Allow-Origin for the origin of the application’s registered redirect URI (any port when that URI is on localhost / 127.0.0.1), and for no other origin.

See Browser sessions below to keep the user signed in.

3. Implicit Grant (legacy client-side apps)

GET https://auth.onbolder.com/oauth/authorize
  ?client_id=YOUR_CLIENT_ID
  &redirect_uri=https://yourapp.com/callback
  &response_type=token
  &scope=products.read

The access token is returned in the URL fragment after the redirect. redirect_uri must equal the application’s registered one. Prefer the code grant with PKCE for new apps.

4. Client Credentials (for server-to-server / automated scripts)

No user involved — the application authenticates as itself.

POST https://auth.onbolder.com/oauth/token
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentials
&client_id=YOUR_CLIENT_ID
&client_secret=YOUR_CLIENT_SECRET
&scope=products.read,orders.read,orders.write

5. Resource Owner Password Credentials (your own scripts only)

Never ask other people for their Bolder password; use the code grant for them.

POST https://auth.onbolder.com/oauth/token
Content-Type: application/x-www-form-urlencoded

grant_type=password
&client_id=YOUR_CLIENT_ID
&client_secret=YOUR_CLIENT_SECRET
&username=USER_EMAIL
&password=USER_PASSWORD
&scope=products.read,orders.read,orders.write

6. JWT Bearer (renewing an expired access token, server side)

An application with a secret renews a user’s expired access token without sending them through the login again. Build a JWT signed with your client_secret (HS256) with the claims iss (your client_id), aud (https://auth.onbolder.com), sub (the expired access token) and a short exp, and send it as the assertion:

POST https://auth.onbolder.com/oauth/token
Content-Type: application/x-www-form-urlencoded

grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
&assertion=SIGNED_JWT

The new token keeps the user and scopes of the old one. It fails with invalid_grant once the user has revoked the application’s access.

7. Refresh Token (browser apps with refresh enabled, AI agents)

Refresh tokens are not issued to every application: only to browser apps that Bolder has enabled for them (ask us; it is not a setting on the credentials page) and to AI agent connections. For a browser app the PKCE exchange then also returns a refresh_token, valid for 24 hours, and renewing needs only the client_id:

POST https://auth.onbolder.com/oauth/token
Content-Type: application/x-www-form-urlencoded

grant_type=refresh_token
&client_id=YOUR_CLIENT_ID
&refresh_token=YOUR_REFRESH_TOKEN

Each refresh returns a new refresh token, so the session lasts while the user is active and ends after 24 hours idle. Every refresh checks the user again: one whose role was removed, downgraded or disabled gets invalid_scope, and one who revoked the application gets invalid_grant.

Browser sessions

A browser app signs the user in with the code grant and PKCE, keeps the access token in memory and renews it with the refresh token. When the refresh token has expired, send the user to /oauth/authorize again with prompt=none: if they are still signed in to Bolder and have authorized the app, the code comes back without showing any page. Otherwise they are redirected to the registered redirect URI with error=login_required (not signed in) or error=consent_required (app not authorized yet) and your state; then start the normal login.

Token response

{
  "access_token":  "eyJ...",
  "token_type":    "Bearer",
  "expires_in":    3600,
  "scopes":        "products.read,orders.read,orders.write",
  "refresh_token": "eyJ..."
}

Access tokens last one hour (expires_in, in seconds). scopes lists what was granted. refresh_token is present only for the applications described in grant 7.

Errors from POST /oauth/token are always JSON, 400 with {"error": "invalid_grant", "error_description": "..."} (the standard OAuth error codes).

Token scopes

v2 uses granular scopes: request access to individual resource namespaces using {namespace}.read / {namespace}.write scopes. This lets an integration ask for only what it needs — e.g. an order-fulfillment tool can request orders.read,orders.write without also getting product or customer write access.

Namespace Read scope Write scope Covers
products products.read products.write Products, variants, collections
orders orders.read orders.write Orders, documents, tracking
customers customers.read customers.write Customer profiles
shops shops.read shops.write Shop configuration
hub hub.read hub.write Content (posts, pages)
store store.read store.write Themes and assets
sellers sellers.read — (read-only) Seller information
batches batches.read batches.write Batch job status
subscriptions subscriptions.read subscriptions.write Subscription and membership purchases and their seats

Request them the same way as any other scope, comma-separated:

&scope=products.read,orders.read,orders.write

A request for a scope the user’s role doesn’t carry, or (when the application declares its scopes) one the application hasn’t declared, is refused with invalid_scope; scopes are never silently dropped.

Scopes by role

A token issued to a user never goes beyond that user’s role in the seller:

Role Scopes
administrador (and the account owner) All of the table above
supervisor products, orders, customers, hub, batches, subscriptions (read and write), sellers.read
vendedor products.read, orders.read_own, orders.write_own, sellers.read

A user whose roles are all below administrador can’t be granted the legacy admin scope. A disabled role (see PUT /shops/{shop_id}/admins/{id}) grants nothing: logins and refreshes answer invalid_scope, and access tokens already issued last until they expire (one hour).

Own-records scopes

orders.read_own and orders.write_own (write_own includes reading) give the same access as orders.read / orders.write, limited to the orders of the user’s own customers (the customer’s salesperson_id is the user). They are carried by the vendedor role (which has no other orders or customers scopes) and need a token issued to a user. With them you can list, get, create and update orders (GET /orders, /orders/stats, /orders/status_counts, GET/POST/PUT on orders) and attach a document to one of their own orders (POST /orders/{order_id}/documents, with orders.write_own; they cannot list, read, download or delete documents); every other endpoint, including customers and refunds, needs the full scopes. An order of someone else’s customer answers 404. When such a token creates an order the contact is required: a new customer gets the user as salesperson, an existing one must already be the user’s (otherwise 422 on $.contact), and the order’s salesperson_id is set to the user.

Personal Access Tokens (PATs)

For scripts and CLI tools where the standard OAuth grants (which require redirect flows or a client secret exchange per session) are overkill, you can issue a Personal Access Token: a long-lived Bearer JWT tied to your user account and a specific application, created from the developer credentials page — see Fastest path — Personal Access Token above for the step-by-step. A few more details:

  • Give the token a name, choose an expiry (30 days, 90 days, 1 year, or no expiry), and select the scopes to grant — you can only grant scopes your own user role already has (see Token scopes above).
  • The raw token is shown once, immediately after creation. Copy it then — it cannot be retrieved again afterwards.

Use it exactly like any other access token:

curl -H "Authorization: Bearer $PERSONAL_ACCESS_TOKEN" https://api.onbolder.com/v2

PATs do not expire on a fixed short TTL like regular access tokens, so there is no refresh-token flow — the token is valid until its chosen expiry (if any) or until revoked. Revoke a PAT at any time from the same credentials page; revocation takes effect immediately.


Hypermedia (HAL)

All responses follow the HAL (Hypertext Application Language) format. Every response contains:

  • _links — navigation links to related resources and available actions.
  • _embedded — inline sub-resources (e.g. variants inside a product).
  • _class — array of type strings (e.g. ["results", "products"]).
  • Properties — the resource’s own data fields at the top level.

CURIEs

Link relation types use service-namespaced CURIEs so clients can resolve documentation for any relation:

{
  "_links": {
    "curies": [
      { "name": "products", "href": "https://api.onbolder.com/docs/v2#products:{rel}", "templated": true },
      { "name": "orders",   "href": "https://api.onbolder.com/docs/v2#orders:{rel}",   "templated": true }
    ],
    "self":             { "href": "https://api.onbolder.com/v2/products/123" },
    "products:update":  { "href": "https://api.onbolder.com/v2/products/123", "method": "put" },
    "products:variants":{ "href": "https://api.onbolder.com/v2/products/123/variants" }
  }
}

Clients should follow links rather than constructing URLs. If a link is absent from a response, the action is either unavailable or not permitted for the current token. The presence of a link is itself an affordance.

URI Templates

Some links are URI templates (marked "templated": true). Expand them with the parameters shown in the template before making a request:

products:list → https://api.onbolder.com/v2/products{?q,status,page,per_page,...}

Expanded:       https://api.onbolder.com/v2/products?status=visible&page=2

Pagination

List endpoints return a standard pagination envelope:

{
  "_class":      ["results", "products"],
  "total_items": 142,
  "per_page":    20,
  "page":        1,
  "_links": {
    "self": { "href": "https://api.onbolder.com/v2/products?page=1" },
    "next": { "href": "https://api.onbolder.com/v2/products?page=2" },
    "prev": { "href": "https://api.onbolder.com/v2/products?page=0" }
  },
  "_embedded": {
    "items": [...]
  }
}

Default page size is 20, maximum is 200 (use per_page to override).


Errors

HTTP Status Meaning
400 Bad request — malformed JSON or missing required field
401 Unauthorized — missing or invalid access token
403 Forbidden — valid token but insufficient permissions
404 Not found
422 Unprocessable — validation failed; see _embedded.errors
429 Too many requests — only AI agents on /v2/mcp are rate limited (60 requests a minute per agent); wait for Retry-After seconds
500 Server error

Validation errors (422) embed a structured error list:

{
  "_embedded": {
    "errors": [
      { "field": "name", "messages": ["can't be blank"] }
    ]
  }
}

HTTP caching

The API emits standard ETag and Last-Modified headers. Clients may send If-None-Match / If-Modified-Since on subsequent requests; unchanged resources return 304 Not Modified with no body.

Version 2.0
Base URLhttps://api.onbolder.com/v2

Root

API entry point — embeds sellers, shops, and navigation links to every resource

Sellers

Seller entities — the business layer between an account and its shops. An account can have multiple sellers, each owning one or more shops and their product catalog.

Shops

Shops owned by the authenticated account. A shop is the customer-facing storefront that belongs to a seller. Settings, admins, shipping tables, payment methods, exchange rates, and other shop-level configuration are anchored to a specific shop.

Content

CMS-style content for a shop’s storefront — blogs and their posts, static pages, and contact/lead-capture forms. A shop can have several blogs, each with its own language; a post in one language can point at the post it translates.

Products

Catalog products, automatically scoped to the authenticated account’s sellers. Account-scoped tokens need no extra parameters; tokens without an account/seller scope must supply shop_subdomains.

Variants

Product variants (size, colour, etc.). Nested under /products/{product_id}/variants. Each variant holds its own SKU, price, stock level, and images.

Price Lists

Named price lists for B2B / wholesale pricing. Products can have per-variant price overrides within a price list.

Product Types

Product type definitions used to group and filter catalog products.

Collections

Curated product collections (manually or rule-based). Products can belong to multiple collections.

Orders

Shop orders. Supports batch status updates and per-order document management.

Customers

Shop customers. Includes customer authentication and password-reset flows.

Promotions

Promotional discount codes and automatic discounts applied at checkout.

Volume Discounts

Quantity-based discount rules (tiered pricing by units purchased).

Themes

Hosted-storefront themes, templates, and assets. Applies only to shops with a hosted storefront (store: namespace); absent for headless shops.

Webhooks

Event webhooks. Subscribe to events such as order.created, product.updated, customer.created, etc. Failed subscriptions can be reactivated, and the recent events of a subscription’s topic inspected with GET /webhooks/{id}/history.

Creating a subscription needs hub.write plus read access to the topic’s resource (orders.read for order.*, products.read for product.*, and so on); otherwise 403. Subscriptions belong to the seller, not to a single shop.

Activation

A new subscription is activated by a POST to its url with an X-Hook-Ping header and the body {"topic": "activation", "id", "status", "url"}. Your endpoint must answer 2xx with the same value in an X-Hook-Pong header; any other answer leaves the subscription in failed_activation and it receives nothing. Deploy the endpoint before subscribing.

const ping = req.get('X-Hook-Ping')
if (ping) return res.set('X-Hook-Pong', ping).sendStatus(200)
Authenticating deliveries

Deliveries are not signed. To check that a request comes from Bolder, create the subscription with auth: {"type": "basic", "username": "...", "password": "..."}: every request to the url, the activation included, then carries those credentials as HTTP Basic auth (Authorization: Basic ...). Use an https URL.

Delivery

Each event is a POST with Content-Type: application/json:

Field
topic The event topic, in the subscription’s spelling (order.updated.closed).
item_type, item_id The record the event is about (order, 123).
changes Changed fields as {"field": [old, new]}.
payload Extra data for the event, if any.
created_on When the event happened.
shop_id, shop_subdomain The shop it happened in.
user_id, user_name, app_name Who caused it, when known.
channel_id hook_<subscription id>.
_embedded.item The record, as the API returns it.

By default a subscription does not receive events caused by the application that created it (notify_origin: false); set notify_origin: true to receive them too.

Retries and failures
  • Requests time out after 30 seconds. Answer 2xx quickly and do slow work in the background.
  • A failed delivery is retried up to 10 times over about 24 hours, so the same event can arrive more than once, and events can arrive out of order.
  • Answering 410 Gone disables the subscription at once (status: disabled); create it again to resume.
  • After 100 failed attempts in a row (retries included) the subscription is marked failed and stops receiving events. Timeouts and 502, 512 and 523 answers do not count towards that limit. A successful delivery resets the count.
  • When a subscription stops, a webhook.disabled event is published (and the merchant gets an alert). After fixing the endpoint, PUT /webhooks/{id}/reactivate resumes a failed subscription and publishes webhook.reactivated.
Topic spelling

The v2 API spells topics in the singular: customer.created, order.updated.item.added, product.updated.variant.sold_out. Only the nouns change; verbs and states (updated, sold_out, opted_out) stay as they are. The singular spelling is used everywhere in v2: the topic of a subscription, the topic of the notifications it receives, and the topic of events returned by /events.

On input the plural spelling (customers.created) is accepted too, in the topic of a new subscription and in the topic filter of /events. A subscription created through v2 always receives the singular spelling, whichever one you sent. Subscriptions created before this change, and those created through the v1 API, keep receiving the plural spelling so their consumers are not affected: every subscription reports the spelling it receives in topic_style (singular or plural).

Topic hierarchy

Topics are dot-separated and hierarchical. A subscription to a topic also receives every topic below it: order receives all order events, order.updated receives order.updated.placed, order.updated.closed, and so on, while order.updated.closed receives only that one. Sibling topics are independent.

Customer events

Customer event topics use the singular customer:

Topic Sent when
customer.created A customer is created, whichever way it happens: the API, a storefront sign-up, a newsletter or contact form, checkout, social login, or the admin.
customer.updated A customer’s profile data changes (name, email, phone, company, custom fields, opt-in, …). Automatic bookkeeping does not count: order totals and counts, last login, timestamps and integration sync state never trigger it.
customer.opted_in An existing customer opts in to email marketing. Sent together with customer.updated.
customer.opted_out An existing customer opts out of email marketing. Sent together with customer.updated.
customer.deleted A customer is permanently deleted. The payload is minimal (the customer’s id, since the record no longer exists).

Customer payloads never include the customer’s activation token or the links that embed it.

A brand-new customer who opts in at sign-up only produces customer.created; check opt_in in its payload. Internal placeholder customers (for example the shared “Venta Presencial” customer used for point-of-sale sales without an identified buyer) never produce events.

The payload of a customer.* webhook is the customer representation, the same one returned by GET /customers/{id} (see the Contact schema). Events are delivered asynchronously, usually within seconds of the change, and delivery order between different changes is not guaranteed: use updated_on to order updates to the same customer.

Subscribe to customer to receive all customer events, or to a specific topic to receive only that one. customer.updated does not include customer.opted_in or customer.opted_out, which are separate topics; a subscription to customer receives both events for an opt-in change.

Change to existing customers.created / customers.updated webhooks: their payload now uses the v2 customer representation. The deprecated company property is gone (use company_name) and links point to v2 URLs (/v2/customers/{id}). Their topic keeps the plural spelling unless the subscription was created through v2 (see Topic spelling).

Product stock and price events
Topic Sent when
product.sold_out A product is no longer available in a stock location (its last available variant ran out there).
product.restocked A product is available again in a stock location.
product.updated.variant.sold_out A single variant ran out in a stock location.
product.updated.variant.restocked A single variant is available again in a stock location.
product.updated.variant.low_stock A variant’s stock fell to the account’s minimum (critical_stock_amount) or below, without being sold out. Also sent when a sold out variant comes back with that little stock.
product.updated.variant.replenished A variant’s stock went back above the account’s minimum.
product.price_dropped A product’s final price went down (its sale price if it has one, otherwise its regular price).
product.price_raised A product’s final price went up.
product.updated.variant.price_dropped A variant’s final price went down.
product.updated.variant.price_raised A variant’s final price went up.

The old and new price are in the event’s changes: {"price": [1000, 800], "sale_price": [1000, 800]}, in the currency’s smallest unit (for CLP, whole pesos). A change that leaves the final price as it was, such as raising the regular price while a sale price applies, sends nothing.

A product’s price derives from its variants, so one price change can produce both a variant event and a product event. Which of the two you receive depends on how the change was made, and a change made through the product form of a single-variant product may only produce one of them: subscribe to both product.price_dropped and product.updated.variant.price_dropped (and the raised pair) if you must not miss a price change.

Refund events
Topic Sent when
refund.created A refund was accepted by the payment gateway (successful). A refund that failed first and later succeeded is announced when it succeeds.
refund.updated A successful refund changed afterwards (for example its description).

The payload is the refund transaction (order_id, negative amount, absolute_amount, payment_method_type, transaction_id, …). The raw gateway reply is never included. Refund topics are not part of the order family: subscribe to refund. A token needs orders.read.

Subscription seat events
Topic Sent when
subscription.seat_added A customer was given a seat on a membership subscription.
subscription.seat_removed A customer’s seat on a membership subscription was removed.

The payload is the subscription purchase. The seat’s customer is in the event’s changes as contact_id and contact_email.

Subscription purchase events
Topic Sent when
subscription.started The purchase became active (its order was paid, a free or fixed-term purchase began, or a cancelled one was restarted).
subscription.renewed A renewal payment succeeded (automatic charge, renewal order paid at checkout, or PUT /subscription_purchases/{id}/renew).
subscription.cancelled The purchase was cancelled.
subscription.completed The purchase ended: its last payment was made, or a free or fixed-term purchase reached its end date.
subscription.end_date_changed The end_date changed without the purchase starting, cancelling or completing.

The payload is the subscription purchase as GET /subscription_purchases/{id} returns it (state, end_date, seats, company_id, _embedded.plan, _embedded.fee, _embedded.company, …) and the event’s changes holds the old and new values of what changed. Each transition sends one event, whichever app saved the purchase. Subscribe to subscription for all of them (and the seat events). A token needs subscriptions.read or an admin token.

Webhook events
Topic Sent when
webhook.disabled One of your webhooks stopped being delivered: the receiver answered 410 Gone, or too many deliveries failed. The payload names the host only.
webhook.reactivated A stopped webhook was reactivated (PUT /webhooks/:id/reactivate) or subscribed again.
Email recipient events
Topic Sent when
recipient.bounced The mail server reported that an email recipient’s address of the shop cannot receive mail. The event’s title is the address and its info the reason.
recipient.bounce_cleared A bounced recipient’s address was changed.
recipient.deleted A recipient that had bounced was removed. Recipients that never bounced produce no event.
Payment method events
Topic Sent when
payment_method.failing A payment method rejected the payments of several different orders in a row, with no confirmed payment in between (a broken configuration or a gateway outage, rather than individual declines). Sent once per failure.
payment_method.recovered A payment method confirmed a payment after it was announced as failing.
Billing events
Topic Sent when
billing.payment_failed The charge of the account’s subscription was rejected. Sent once per failure, for each seller of the account.
billing.paid The subscription was charged successfully after a rejected charge.
billing.overdue The account fell into arrears (the payment retries were exhausted) and will be disabled if it is not regularized.
billing.restored An account in arrears is paid up again.
Plan events
Topic Sent when
plan.limit_reached A seller uses 85% or more of a limit of its plan (products, or the orders of the month), and again when it goes over it. The payload says the metric, status (near or exceeded), used and limit.
plan.limit_ok A limit that was reported is back under 85%.
Theme events
Topic Sent when
theme.render_error A template of the published theme raised a Liquid error while a page was shown. The payload has the templates (up to 3), the total and the message. Sent again when a new template is reported.
theme.slow_render A template kept taking too long to render (reported in 3 different 10-minute windows).
theme.missing_asset A template references an asset that does not exist.
theme.render_fixed, theme.render_fast, theme.asset_found The problem was not reported for 3 days (checked daily).
Domain events
Topic Sent when
domain.cert_failing The SSL certificate of the shop’s own domain could not be issued or renewed, or the domain stopped pointing to Bolder. The payload has the domain, the reason (renewal_failed, issuance_failed, points_elsewhere) and, for a renewal, the days_left. A renewal that works sends nothing.
domain.cert_ok The certificate of a domain that was failing is issued or renewed.
Backlog events
Topic Sent when
backlog.review_stale A seller has orders that have been in review for more than 24 hours. Sent daily when the count changes; the payload has the count.
backlog.review_clear No order of the seller is waiting in review for more than 24 hours any more.
backlog.transfers_stale A seller has bank transfer orders unconfirmed for more than 3 days (count in the payload).
backlog.transfers_clear No bank transfer order of the seller is waiting more than 3 days any more.
backlog.partial_stale A seller has partial-payment orders whose balance is past its due date and still unpaid (count in the payload).
backlog.partial_clear No partial-payment order of the seller has an overdue unpaid balance any more.
Cart events
Topic Sent when
cart.updated The cart of an identified customer changed: items, quantities or total.
cart.deleted That cart was emptied.

A cart is a draft order, so the payload is the order representation. Cart events are only sent for carts that belong to an identified customer (a logged-in customer on the storefront), and only when something actually changed. Cart topics are not part of the order family: subscribing to order does not include them, subscribe to cart. A token needs orders.read to subscribe.

Collection events
Topic Sent when
collection.created A collection is created.
collection.updated A collection’s title, slug, description, visibility or other data changes. Adding or removing products (the product counter) does not count.
collection.deleted A collection is permanently deleted. The payload is minimal (the id).

Collections belong to the whole account, not to one shop, so these events are recorded under the account’s main shop. A token needs products.read to subscribe.

Integration events
Topic Sent when
integration.misconfigured A shop’s integration (an add-on such as a mailing list, analytics or Facebook) stopped working on the merchant’s side: a required option is missing, or the provider rejected its credentials. Sent once per breakage, not once per failed call.
product.updated.variant.low_stock A variant is down to the account’s minimum stock (critical_stock_amount).
webhook.disabled A webhook stopped being delivered (the receiver answered 410 Gone, or too many deliveries failed).
order.notifications.refund_failed An automatic refund of an order (changes to the order applied, for example approved by the buyer in checkout) could not be made. The event’s info is the amount.
payment_method.failing A payment method rejected the payments of several orders in a row.
recipient.bounced The address of an email recipient of the shop cannot receive mail.
billing.payment_failed The charge of the account’s subscription was rejected.
billing.overdue The account is in arrears.
plan.limit_reached The seller uses 85% or more of a limit of its plan, or goes over it.
backlog.review_stale Orders have been in review for more than 24 hours (one alert with a count).
backlog.transfers_stale Bank transfer orders are unconfirmed after 3 days (one alert with a count).
backlog.partial_stale Partial-payment orders have an overdue balance that was not collected (one alert with a count).
order.notifications.bounced The email of an order could not be delivered to the customer.
theme.render_error Templates of the published theme raise errors when they are shown.
theme.slow_render Templates of the published theme keep taking too long to render.
theme.missing_asset The published theme references files that do not exist.
domain.cert_failing The SSL certificate of the shop’s own domain could not be issued or renewed, or the domain no longer points to Bolder.
integration.recovered That integration worked again after being misconfigured.

The payload has no body; the event’s payload carries the add-on key (integration, eg. google_analytics) and, for integration.misconfigured, the reason (options or credentials). Subscribe to integration for both. Only an admin token can subscribe.

Alerts

The notification feed of the admin (the bell): things a merchant should look at or act on. The kinds are defined by the platform, they are not configured per account. Each one is raised by a webhook topic:

topic Raised when Leaves the feed when
product.sold_out A product is no longer available. It is restocked (product.restocked).
integration.misconfigured An integration (add-on) stopped working on the merchant’s side: a required option is missing, or the provider rejected its credentials. The integration works again (integration.recovered).

Every open alert is in the feed for every user who can see the seller. Seen and read are per user, like a bell: opening the feed marks what it shows as seen (the badge, unseen_count), reading an alert is explicit and can be undone. One user reading an alert does not change it for the others. Alerts are open or resolved: only open ones are listed. Who is emailed about an alert is decided by the notification profile of each recipient, which opts in to the topics it wants (GET /alerts/topics lists the ones it can opt in to). Every endpoint needs shops.read; all but /alerts/topics also need a token issued to a user.

Subscriptions

Recurring product subscriptions. SubscriptionFee defines the recurring payment terms attached to a product/variant; SubscriptionPurchase is a customer’s active subscription created from a recurring order.

Membership seats

A subscription purchase of a membership plan can share its access with other customers of the same company, one seat each. The purchasing customer occupies the first seat implicitly; max_seats on the purchase (copied from the plan when it is created) is the total including that customer, and an unset or zero value means unlimited. Seats are listed, added and removed with /subscription_purchases/{id}/seats; subscription purchases of other products have no seats (404). Adding or removing a seat sends subscription.seat_added / subscription.seat_removed (see Webhooks). All seat endpoints need subscriptions.read (list) or subscriptions.write (add, remove).

Scopes

Reading purchases (/subscription_purchases, /status_counts, /stats, show and seats) needs subscriptions.read; updating, renewing and managing seats needs subscriptions.write. orders.read / orders.write still work for both, so existing tokens keep their access; a token that only has subscriptions.* cannot read orders.

Company

A purchase has a nullable company_id (_embedded.company {id,name}). It is copied from the purchasing customer’s company when the purchase is created from an order, and can be set or cleared with PUT /subscription_purchases/{id} (the company must belong to the same seller). It is informational: seat eligibility still compares the customers’ companies.

Wallets

Points and store-credit wallets, one per contact per program. A seller runs at most one active PointsProgram and one active CreditProgram, each covering every shop under the seller. Use register_purchase / unregister_purchase to award or reverse points for completed orders. Credit wallets carry a spending limit and accrue payments toward it.

Catalog

Store

Was this page helpful?