Bold Subscriptions

App · 20 actions

Find subscriptions, customers, orders, and subscription groups in your Bold shop.

Actions

ActionWhat it does
Get customerRetrieve a customer by their id.
Get shopRetrieve basic information about a shop.
Get subscriptionRetrieve a subscription by its id.
Get subscription groupRetrieve a subscription group by its id.
Get subscription orderRetrieve a subscription order for a subscription by its id.
Get webhook eventRetrieve a webhook event by its id.
List customer addressesRetrieve a list of addresses for a customer.
List customer subscriptionsRetrieve a list of subscriptions for a single customer.
List customersRetrieve a list of customers.
List future ordersList future orders.
List selection optionsList selection options.
List subscription adjustmentsLists adjustments for a subscription or its orders.
List subscription future ordersList subscription future orders.
List subscription groupsRetrieve a list of subscription groups.
List subscription intervalsRetrieve a list of available intervals for a subscription.
List subscription ordersRetrieve a list of subscription orders for a subscription.
List subscriptionsRetrieve a list of subscriptions.
List webhook eventsRetrieve a list of webhook events.
List webhook subscriptionsRetrieve a list of webhook subscriptions.
List webhook topicsRetrieve a list of available webhook topics.

Get customer

Retrieve a customer by their id.

Inputs

Customer IDcustomer_idnumberRequired
The customer identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "customer": {
      "addresses": [],
      "cashier_public_id": "example",
      "created_at": "example",
      "default_address": {
        "address_source": "platform",
        "address_use": "example",
        "city": "example",
        "company": "example",
        "country": "example",
        "country_code": "example",
        "created_at": "example",
        "customer_id": 1,
        "deleted_at": "example",
        "first_name": "example",
        "id": 1,
        "is_default": false,
        "last_name": "example",
        "phone": "example",
        "platform_customer_id": "example",
        "platform_id": "example",
        "platform_type": "bigcommerce",
        "province": "example",
        "province_code": "example",
        "shop_identifier": "example",
        "street1": "example",
        "street2": "example",
        "updated_at": "example",
        "zip": "example"
      },
      "email": "example",
      "first_name": "example",
      "id": 1,
      "labels": [],
      "last_name": "example",
      "notes": "example",
      "phone": "example",
      "platform_id": "example",
      "subscription_summary": {
        "active_subscription_count": 1,
        "bold_platform_customer_id": 1,
        "inactive_subscription_count": 1,
        "last_order_date": "example",
        "lifetime_value_usd": 1.0,
        "next_order_date": "example",
        "subscription_order_count": 1
      }
    }
  }
}

Get shop

Retrieve basic information about a shop.

Inputs

None.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "shop": {
      "admin_email": "example",
      "created_at": "example",
      "currency": "example",
      "currency_format": "example",
      "custom_domain": "example",
      "deleted_at": "example",
      "id": 1,
      "pii_redacted_at": "example",
      "platform_type": "bigcommerce",
      "shop_domain": "example",
      "shop_identifer": "example",
      "shop_owner": "example",
      "timezone": "example",
      "updated_at": "example"
    }
  }
}

Get subscription

Retrieve a subscription by its id.

Inputs

Subscriptionsubscription_idnumberRequired
The subscription identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "subscription": {
      "base_currency": "example",
      "base_to_charged_exchange_rate": 1,
      "billing_address": {
        "address_source": "platform",
        "address_use": "example",
        "city": "example",
        "company": "example",
        "country": "example",
        "country_code": "example",
        "created_at": "example",
        "customer_id": 1,
        "deleted_at": "example",
        "first_name": "example",
        "id": 1,
        "is_default": false,
        "last_name": "example",
        "phone": "example",
        "platform_customer_id": "example",
        "platform_id": "example",
        "platform_type": "bigcommerce",
        "province": "example",
        "province_code": "example",
        "shop_identifier": "example",
        "street1": "example",
        "street2": "example",
        "updated_at": "example",
        "zip": "example"
      },
      "billing_address_id": 1,
      "charged_currency": "example",
      "created_at": "example",
      "current_retries": 1,
      "customer": {},
      "customer_id": 1,
      "discount_code": "example",
      "external_id": "example",
      "id": 1,
      "idempotency_key": "example",
      "last_failure_code": "alt_pp_payment_method_required",
      "last_failure_details": {
        "message": "example"
      },
      "last_failure_reason": "credit_card",
      "last_order_datetime": "example",
      "last_payment_datetime": "example",
      "last_processed_datetime": "example",
      "line_items": [],
      "next_order_datetime": "example",
      "next_payment_datetime": "example",
      "next_processing_datetime": "example",
      "note": "example",
      "order_count": 1,
      "order_note": "example",
      "order_rrule": "example",
      "order_rrule_text": "example",
      "orders_processed": 1,
      "payment_gateway_public_id": "example",
      "payment_method_token": "example",
      "payment_rrule": "example",
      "payment_rrule_text": "example",
      "percent_discount": 1.0,
      "placed_at": "example",
      "sca_url": "example",
      "shipping_address": {
        "address_source": "platform",
        "address_use": "example",
        "city": "example",
        "company": "example",
        "country": "example",
        "country_code": "example",
        "created_at": "example",
        "customer_id": 1,
        "deleted_at": "example",
        "first_name": "example",
        "id": 1,
        "is_default": false,
        "last_name": "example",
        "phone": "example",
        "platform_customer_id": "example",
        "platform_id": "example",
        "platform_type": "bigcommerce",
        "province": "example",
        "province_code": "example",
        "shop_identifier": "example",
        "street1": "example",
        "street2": "example",
        "updated_at": "example",
        "zip": "example"
      },
      "shipping_address_id": 1,
      "shipping_lines": [],
      "shop_id": 1,
      "status_changed_at": "example",
      "subscription_status": "active",
      "updated_at": "example"
    }
  }
}

Get subscription group

Retrieve a subscription group by its id.

Inputs

Group IDgroup_idnumberRequired
The subscription group identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "subscription_group": {
      "active_subscribers_count": 1,
      "allow_buffer_days": false,
      "allow_prepaid": false,
      "billing_rules": [],
      "can_add_to_cart": false,
      "continue_prepaid_type": "as_prepaid",
      "created_at": "example",
      "deleted_at": "example",
      "discount_type": "no_discount",
      "dynamic_discounts": [],
      "fixed_discount": 1,
      "fixed_interval_type": "daily",
      "group_type": "selectable",
      "id": 1,
      "internal_name": "example",
      "is_enabled": false,
      "is_fixed_billing": false,
      "is_prepaid_only": false,
      "is_product_swappable": false,
      "is_subscription_only": false,
      "minimum_order_count_before_cancellable": 1,
      "percent_discount": 1.0,
      "platform_id": "example",
      "prepaid_durations": [],
      "selectable_daily_allowed": false,
      "selectable_max_interval_frequency": 1,
      "selectable_weekly_allowed": false,
      "selectable_yearly_allowed": false,
      "selection_options": [],
      "selection_type": "products",
      "shop_id": 1,
      "should_continue_prepaid": false,
      "updated_at": "example"
    }
  }
}

Get subscription order

Retrieve a subscription order for a subscription by its id.

Inputs

Subscriptionsubscription_idnumberRequired
The subscription identifier.
Order IDorder_idnumberRequired
The order identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "base_currency": "example",
    "base_to_charged_exchange_rate": 1.0,
    "created_at": "example",
    "id": 1,
    "is_multi_currency": false,
    "order": {
      "billing_address": {
        "address_source": "platform",
        "address_use": "example",
        "city": "example",
        "company": "example",
        "country": "example",
        "country_code": "example",
        "created_at": "example",
        "customer_id": 1,
        "deleted_at": "example",
        "first_name": "example",
        "id": 1,
        "is_default": false,
        "last_name": "example",
        "phone": "example",
        "platform_customer_id": "example",
        "platform_id": "example",
        "platform_type": "bigcommerce",
        "province": "example",
        "province_code": "example",
        "shop_identifier": "example",
        "street1": "example",
        "street2": "example",
        "updated_at": "example",
        "zip": "example"
      },
      "created_at": "example",
      "currency": "example",
      "currency_charged": "example",
      "currency_format": "example",
      "currency_format_charged": "example",
      "deleted_at": "example",
      "discounts": [],
      "exchange_rate": 1.0,
      "fulfillment_status": "example",
      "id": 1,
      "line_items": [],
      "order_number": 1,
      "payment_method": "example",
      "payment_method_details": {
        "billing_address": {
          "city": "example",
          "country": "example",
          "province": "example",
          "street": "example",
          "zip": "example"
        },
        "cc_type": "example",
        "embed_url": {
          "expiry": "example",
          "url": "example"
        },
        "expiration": {
          "date": "example",
          "timezone": "example",
          "timezone_type": "example"
        },
        "is_default": false,
        "last_four": "example",
        "name": "example",
        "paypal_email": "example",
        "public_id": "example",
        "type": "credit_card",
        "update_method": "trigger_email",
        "update_url": {
          "expiry": "example",
          "url": "example"
        }
      },
      "placed_at": "example",
      "platform_customer_id": 1,
      "platform_id": 1,
      "shipping_addresses": [],
      "shipping_method": "example",
      "shipping_rates": [],
      "shipping_subtotal": 1,
      "shipping_subtotal_charged": 1,
      "shipping_tax": 1,
      "shipping_tax_charged": 1,
      "shop_identifier": "example",
      "source": "example",
      "subscription_id": 1,
      "subtotal": 1,
      "subtotal_charged": 1,
      "subtotal_tax": 1,
      "subtotal_tax_charged": 1,
      "tax_lines": [],
      "test": false,
      "total": 1,
      "total_charged": 1,
      "total_tax": 1,
      "total_tax_charged": 1,
      "updated_at": "example",
      "url": "example"
    },
    "shop_id": 1,
    "subscription_id": 1,
    "updated_at": "example"
  }
}

Get webhook event

Retrieve a webhook event by its id.

Inputs

Webhook event IDwebhook_event_idnumberRequired
The webhook event identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "webhook_event": {
      "attempts": 1,
      "created_at": "example",
      "deleted_at": "example",
      "delivered_at": "example",
      "id": 1,
      "last_response_status_code": "example",
      "shop_id": 1,
      "updated_at": "example",
      "uuid": "example",
      "webhook_subscription_id": 1,
      "webhook_topic_id": 1
    }
  }
}

List customer addresses

Retrieve a list of addresses for a customer.

Inputs

Customer IDcustomer_idnumberRequired
The customer identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "customer_addresses": []
  }
}

List customer subscriptions

Retrieve a list of subscriptions for a single customer.

Inputs

Customer IDcustomer_idnumberRequired
The customer identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "pagination": {
      "count": 1,
      "current_page": 1,
      "per_page": 1,
      "total": 1,
      "total_pages": 1
    },
    "subscriptions": []
  }
}

List customers

Retrieve a list of customers.

Inputs

Searchsearchtext
Search with a specific target. It's possible to search by subscription ID or phone number.
Statusstatustext
Customer status to filter.One of: all, active, inactive. Default: all.
Limitlimitnumber
The maximum number of results to be returned.Default: 50.
Pagepagenumber
The page to request.Default: 1.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "customers": []
  }
}

List future orders

List future orders.

Inputs

Limitlimitnumber
The maximum number of results to be returned.Default: 50.
Filterfiltertext
Filter future orders. Accepts filtering options as described in the [Query and Pagination](/guides/subscriptions-v2/resources/query-pagination) reference.
Subscription filtersubscription_filtertext
Subscription filter.
Cursorcursortext
A Base-64 encoded cursor. Used to get a page of data on a cursor paginated request. Obtained from the response of a previous request.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "future_orders": [],
    "pagination": {
      "count": 1,
      "next": "example"
    }
  }
}

List selection options

List selection options.

Inputs

Cursorcursortext
A base 64 encoded cursor.
Filterfiltertext
Accepts filtering options as described on the [Query & Pagination page](/guides/subscriptions-v2/resources/query-pagination).
Expandexpandtext
Fields to expand on the selection options. Currently accepts `subscription_group` and `products`
Limitlimitnumber
Limit the number of returned items.
Latestlatesttrue/false
Latest.Default: false.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "pagination": {
      "next": "example",
      "prev": "example"
    },
    "selection_options": []
  }
}

List subscription adjustments

Lists adjustments for a subscription or its orders.

Inputs

Filterfiltertext
Filter.
Subscriptionsubscription_idnumberRequired
The subscription identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "adjustments": []
  }
}

List subscription future orders

List subscription future orders.

Inputs

Limitlimitnumber
The maximum number of results to be returned.Default: 50.
Filterfiltertext
Filter future orders. Accepts filtering options as described in the [Query and Pagination](/guides/subscriptions-v2/resources/query-pagination) reference.
Cursorcursortext
A Base-64 encoded cursor. Used to get a page of data on a cursor paginated request. Obtained from the response of a previous request.
Subscriptionsubscription_idnumberRequired
The subscription identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "future_orders": [],
    "pagination": {
      "count": 1,
      "next": "example"
    }
  }
}

List subscription groups

Retrieve a list of subscription groups.

Inputs

None.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "subscription_groups": []
  }
}

List subscription intervals

Retrieve a list of available intervals for a subscription.

Inputs

Subscriptionsubscription_idnumberRequired
The subscription identifier.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "intervals": []
  }
}

List subscription orders

Retrieve a list of subscription orders for a subscription.

Inputs

Subscriptionsubscription_idnumberRequired
The subscription identifier.
Pagepagenumber
The desired page number for the paginated result
Limitlimitnumber
Maximum number of results to be returned

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "subscription_orders": []
  }
}

List subscriptions

Retrieve a list of subscriptions.

Inputs

Subscription statussubscription_statustext
Status of the subscriptions returned. Multiple statuses can be passed as an array.
Bold platform customer IDbold_platform_customer_idtext
Customer Id of the subscriptions returned. Multiple customer ids can be passed as an array.
Expandexpandtext
Fields to expand on the subscription. Multiple fields can be passed as an arrayOne of: customer.
Limitlimitnumber
Maximum number of results to be returned
Filterfiltertext
Filter.
Cursorcursortext
Returns the next page of results if supplied the `next` value from the previous pagination results.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "pagination": {
      "count": 1,
      "next": "example",
      "per_page": 1,
      "total": 1,
      "total_pages": 1
    },
    "subscriptions": []
  }
}

List webhook events

Retrieve a list of webhook events.

Inputs

Since IDsince_idnumber
Since id.
Limitlimittext
Maximum number of results to be returned
Filtersfilterslist
Filter event webhooks. Mulitple filters can be passed in the array.One or more of: shop_id (Shop id), webhook_subscription_id (Webhook subscription id), webhook_topic_id (Webhook topic id), uuid, attempts, last_response_status_code (Last response status code), id, created_at (Created at), updated_at (Updated at), delivered_at (Delivered at).

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "webhook_events": []
  }
}

List webhook subscriptions

Retrieve a list of webhook subscriptions.

Inputs

Since IDsince_idnumber
Since id.
Limitlimittext
Maximum number of results to be returned
Filtersfilterslist
Filter subscription webhooks. Multiple filters can be passed in the array.One or more of: webhook_topic_id (Webhook topic id), callback_url (Callback url), shared_secret (Shared secret), created_at (Created at), updated_at (Updated at).

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "webhook_subscriptions": []
  }
}

List webhook topics

Retrieve a list of available webhook topics.

Inputs

None.

Outputs

dataobject
The response from Bold Subscriptions.
Example output
{
  "data": {
    "webhook_topics": []
  }
}

On this page