Baremetrics integration (Finance, Data). Imported from open-connector.
https://api.baremetrics.com/v1/sources
/v1/{sourceId}/customers
| Param | Type | Required | Description |
|---|---|---|---|
| sourceId | string | required | The Baremetrics source ID from the List Sources endpoint. |
| search | string | optional | Search customers by Baremetrics oid, email, notes, or name. |
| sort | string | optional | The customer field Baremetrics should sort by. |
| order | string | optional | The order to return Baremetrics results in. |
/v1/{sourceId}/customers
| Param | Type | Required | Description |
|---|---|---|---|
| sourceId | string | required | The Baremetrics source ID from the List Sources endpoint. |
| oid | string | required | Your unique Baremetrics customer ID. |
| name | string | optional | The customer name. |
| string | optional | The customer's email address. | |
| notes | string | optional | Your own notes for this customer. |
| created | string | optional | Unix timestamp for when the customer was created. |
/v1/{sourceId}/customers/{customerOid}
| Param | Type | Required | Description |
|---|---|---|---|
| sourceId | string | required | The Baremetrics source ID from the List Sources endpoint. |
| customerOid | string | required | Your unique Baremetrics customer ID. |
| name | string | optional | The updated customer name. |
| string | optional | The updated customer email address. | |
| notes | string | optional | Updated notes for this customer. |
| created | string | optional | Unix timestamp for when the customer was created. |
/v1/{sourceId}/plans
| Param | Type | Required | Description |
|---|---|---|---|
| sourceId | string | required | The Baremetrics source ID from the List Sources endpoint. |
| search | string | optional | Search plans by Baremetrics name or oid. |
/v1/{sourceId}/subscriptions
| Param | Type | Required | Description |
|---|---|---|---|
| sourceId | string | required | The Baremetrics source ID from the List Sources endpoint. |
| customerOid | string | optional | Your unique Baremetrics customer ID. |
| order | string | optional | The order to return Baremetrics results in. |
/v1/{sourceId}/subscriptions
| Param | Type | Required | Description |
|---|---|---|---|
| sourceId | string | required | The Baremetrics source ID from the List Sources endpoint. |
| oid | string | required | Your unique Baremetrics subscription ID. |
| startedAt | string | required | Unix timestamp for when the subscription started. |
| canceledAt | string | optional | Unix timestamp for when the subscription was or should be canceled. |
| planOid | string | required | Your unique Baremetrics plan ID. |
| customerOid | string | required | Your unique Baremetrics customer ID. |
| addons | array | optional | Addons attached to this subscription. |
| quantity | integer | optional | The subscription quantity. |
| discount | integer | optional | Discount amount in the same currency as the plan. |
/v1/{sourceId}/subscriptions/{subscriptionOid}
| Param | Type | Required | Description |
|---|---|---|---|
| sourceId | string | required | The Baremetrics source ID from the List Sources endpoint. |
| subscriptionOid | string | required | Your unique Baremetrics subscription ID. |
| planOid | string | required | Your unique Baremetrics plan ID. |
| occurredAt | string | optional | Unix timestamp for when this subscription change occurred. |
| addons | array | optional | Addons attached to this subscription. |
| quantity | integer | optional | The subscription quantity. |
| discount | integer | optional | Discount amount in the same currency as the plan. |
/v1/{sourceId}/charges
| Param | Type | Required | Description |
|---|---|---|---|
| sourceId | string | required | The Baremetrics source ID from the List Sources endpoint. |
| start | string | optional | Unix timestamp for the start of the charge window. |
| end | string | optional | Unix timestamp for the end of the charge window. |
| subscriptionOid | string | optional | Your unique Baremetrics subscription ID. |
| customerOid | string | optional | Your unique Baremetrics customer ID. |