All URIs are relative to https://api.builtbybit.com
| Method | HTTP request | Description |
|---|---|---|
| getV2ResourcesCreatorAddons | GET /v2/resources/creator/addons | Fetch a list of your resources' addons |
| getV2ResourcesCreatorBatch | GET /v2/resources/creator/batch | Fetch a list of your batches edits |
| getV2ResourcesCreatorCoupons | GET /v2/resources/creator/coupons | Fetch a list of your coupons |
| getV2ResourcesCreatorCouponsEntries | GET /v2/resources/creator/coupons/entries | Fetch a list of your coupon entries |
| getV2ResourcesCreatorLicenses | GET /v2/resources/creator/licenses | Fetch a list of your resources' licenses |
| getV2ResourcesCreatorPurchases | GET /v2/resources/creator/purchases | Fetch a list of your resources' purchases |
| getV2ResourcesCreatorResources | GET /v2/resources/creator/resources | Fetch a list of your resources |
| getV2ResourcesCreatorReviews | GET /v2/resources/creator/reviews | Fetch a list of your resources' reviews |
| getV2ResourcesCreatorSaleEvents | GET /v2/resources/creator/sale-events | Fetch a list of your sale events |
| getV2ResourcesCreatorSaleEventsEntries | GET /v2/resources/creator/sale-events/entries | Fetch a list of your sale event entries |
| getV2ResourcesCreatorStores | GET /v2/resources/creator/stores | Fetch a list of your stores |
| getV2ResourcesCreatorUpdates | GET /v2/resources/creator/updates | Fetch a list of your resource's updates |
| getV2ResourcesCreatorVersions | GET /v2/resources/creator/versions | Fetch a list of your resources' versions |
| postV2ResourcesCreatorBatch | POST /v2/resources/creator/batch | Submit a new batch edit |
| postV2ResourcesCreatorCoupons | POST /v2/resources/creator/coupons | Create a new coupon |
| postV2ResourcesCreatorUpdate | POST /v2/resources/creator/update | Post a resource update |
GetV2ResourcesCreatorAddons200Response getV2ResourcesCreatorAddons(opts)
Fetch a list of your resources' addons
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'resourceIds': null // Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorAddons(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| resourceIds | Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorAddons200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorBatch200Response getV2ResourcesCreatorBatch(opts)
Fetch a list of your batches edits
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'batchIds': null // Array | A comma-separated list of batch IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorBatch(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| batchIds | Array | A comma-separated list of batch IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorBatch200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorCoupons200Response getV2ResourcesCreatorCoupons(opts)
Fetch a list of your coupons
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'couponIds': null // Array | A comma-separated list of coupon IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorCoupons(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| couponIds | Array | A comma-separated list of coupon IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorCoupons200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorCouponsEntries200Response getV2ResourcesCreatorCouponsEntries(opts)
Fetch a list of your coupon entries
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'couponIds': null // Array | A comma-separated list of coupon IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorCouponsEntries(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| couponIds | Array | A comma-separated list of coupon IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorCouponsEntries200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorLicenses200Response getV2ResourcesCreatorLicenses(opts)
Fetch a list of your resources' licenses
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'resourceIds': null // Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorLicenses(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| resourceIds | Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorLicenses200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorPurchases200Response getV2ResourcesCreatorPurchases(opts)
Fetch a list of your resources' purchases
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'resourceIds': null, // Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty.
'buyerIds': null, // Array | A comma-separated list of buyer IDs to filter on. No filter is applied if empty
'externalTids': null // Array | A comma-separated list of external transaction IDs (TIDs) to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorPurchases(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| resourceIds | Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty. | [optional] |
| buyerIds | Array | A comma-separated list of buyer IDs to filter on. No filter is applied if empty | [optional] |
| externalTids | Array | A comma-separated list of external transaction IDs (TIDs) to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorPurchases200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorResources200Response getV2ResourcesCreatorResources(opts)
Fetch a list of your resources
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'resourceIds': null // Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorResources(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| resourceIds | Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorResources200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorReviews200Response getV2ResourcesCreatorReviews(opts)
Fetch a list of your resources' reviews
import BuiltByBitApi from 'built_by_bit_api';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'resourceIds': null // Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorReviews(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| resourceIds | Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorReviews200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorSaleEvents200Response getV2ResourcesCreatorSaleEvents(opts)
Fetch a list of your sale events
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'saleEventIds': null // Array | A comma-separated list of sale event IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorSaleEvents(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| saleEventIds | Array | A comma-separated list of sale event IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorSaleEvents200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorSaleEventsEntries200Response getV2ResourcesCreatorSaleEventsEntries(opts)
Fetch a list of your sale event entries
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'saleEventIds': null // Array | A comma-separated list of sale event IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorSaleEventsEntries(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| saleEventIds | Array | A comma-separated list of sale event IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorSaleEventsEntries200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorStores200Response getV2ResourcesCreatorStores()
Fetch a list of your stores
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
apiInstance.getV2ResourcesCreatorStores((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
GetV2ResourcesCreatorStores200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorUpdates200Response getV2ResourcesCreatorUpdates(opts)
Fetch a list of your resource's updates
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'resourceIds': null // Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorUpdates(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| resourceIds | Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorUpdates200Response
- Content-Type: Not defined
- Accept: application/json
GetV2ResourcesCreatorVersions200Response getV2ResourcesCreatorVersions(opts)
Fetch a list of your resources' versions
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'resourceIds': null // Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorVersions(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| resourceIds | Array | A comma-separated list of resource IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorVersions200Response
- Content-Type: Not defined
- Accept: application/json
PostV2ResourcesCreatorBatch200Response postV2ResourcesCreatorBatch(opts)
Submit a new batch edit
Batch edits will be processed in the background meaning a successful call to this endpoint does not guarantee that the edits have been completed. You will instead receive an identifier to a batch edit which you can then use to fetch the status of via the below endpoint. This is not an atomic operation meaning some resources may be edited successfully and others may not be due to an error. You may only batch edit resources you own currently.
import BuiltByBitApi from 'built_by_bit_api';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'postV2ResourcesCreatorBatchRequest': new BuiltByBitApi.PostV2ResourcesCreatorBatchRequest() // PostV2ResourcesCreatorBatchRequest |
};
apiInstance.postV2ResourcesCreatorBatch(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| postV2ResourcesCreatorBatchRequest | PostV2ResourcesCreatorBatchRequest | [optional] |
PostV2ResourcesCreatorBatch200Response
No authorization required
- Content-Type: application/json
- Accept: application/json
PostV2ResourcesCreatorCoupons200Response postV2ResourcesCreatorCoupons(opts)
Create a new coupon
This endpoint is currently limited to percent-based coupons with a maximum discount of 50%.
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'postV2ResourcesCreatorCouponsRequest': new BuiltByBitApi.PostV2ResourcesCreatorCouponsRequest() // PostV2ResourcesCreatorCouponsRequest |
};
apiInstance.postV2ResourcesCreatorCoupons(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| postV2ResourcesCreatorCouponsRequest | PostV2ResourcesCreatorCouponsRequest | [optional] |
PostV2ResourcesCreatorCoupons200Response
- Content-Type: application/json
- Accept: application/json
PostV2ResourcesCreatorUpdate200Response postV2ResourcesCreatorUpdate(opts)
Post a resource update
Creates a new version for the resource and optionally posts a public update message. The uploaded file must be encoded using base64 as part of the JSON request body shown below. The request body (including the base64 encoded file data) cannot exceed 100MB. This roughly equates to a 67MB upload limit for the raw file when taking into account base64 encoding losses.
import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';
let apiInstance = new BuiltByBitApi.ResourcesCreatorApi();
let opts = {
'postV2ResourcesCreatorUpdateRequest': new BuiltByBitApi.PostV2ResourcesCreatorUpdateRequest() // PostV2ResourcesCreatorUpdateRequest |
};
apiInstance.postV2ResourcesCreatorUpdate(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| postV2ResourcesCreatorUpdateRequest | PostV2ResourcesCreatorUpdateRequest | [optional] |
PostV2ResourcesCreatorUpdate200Response
- Content-Type: application/json
- Accept: application/json