You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*ResourcesCreatorApi* | [**getV2ResourcesCreatorStores**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorStores) | **GET** /v2/resources/creator/stores | Fetch a list of your stores
147
147
*ResourcesCreatorApi* | [**getV2ResourcesCreatorUpdates**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorUpdates) | **GET** /v2/resources/creator/updates | Fetch a list of your resource's updates
148
148
*ResourcesCreatorApi* | [**getV2ResourcesCreatorVersions**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorVersions) | **GET** /v2/resources/creator/versions | Fetch a list of your resources' versions
149
+
*ResourcesCreatorApi* | [**postV2ResourcesCreatorCoupons**](docs/ResourcesCreatorApi.md#postV2ResourcesCreatorCoupons) | **POST** /v2/resources/creator/coupons | Create a new coupon
149
150
*ResourcesCreatorApi* | [**postV2ResourcesCreatorUpdate**](docs/ResourcesCreatorApi.md#postV2ResourcesCreatorUpdate) | **POST** /v2/resources/creator/update | Post a resource update
150
151
*ResourcesDiscoveryApi* | [**getResourcesDiscoverCategories**](docs/ResourcesDiscoveryApi.md#getResourcesDiscoverCategories) | **GET** /v2/resources/discover/categories | Fetch a list of categories
151
152
*ResourcesDiscoveryApi* | [**getResourcesDiscoverResources**](docs/ResourcesDiscoveryApi.md#getResourcesDiscoverResources) | **GET** /v2/resources/discover/resources | Fetch a list of resources
|**type**|**String**| Must be 'perecent'. ||
11
+
|**discount**|**BigDecimal**|||
12
+
|**label**|**String**| The trailing part of the coupon code (without '{user_id}-'). ||
13
+
|**doExpiry**|**Boolean**| Whether or not to respect the 'expiry_date' field. No expiry date is set otherwise. |[optional]|
14
+
|**expiryDate**|**String**||[optional]|
15
+
|**limitedUses**|**Boolean**| Whether or not to respect the 'max_uses' field. No max use limit is set otherwise. |[optional]|
16
+
|**maxUses**|**Integer**||[optional]|
17
+
|**limitedUserUses**|**Boolean**| Whether or not to respect the 'max_per_user_uses' field. No max uses per user limit is set otherwise. |[optional]|
18
+
|**maxPerUserUses**|**Integer**||[optional]|
19
+
|**allContentTypes**|**List<String>**| If a content type is included, all of the creator's content (of that type) can be used against this coupon. Support values include: 'resource', 'addon', and 'bundle'|[optional]|
20
+
|**resources**|**String**| A comma-separated list of resource IDs which this coupon can be used against. |[optional]|
21
+
|**addons**|**String**| A comma-separated list of addon IDs which this coupon can be used against. |[optional]|
22
+
|**bundles**|**String**| A comma-separated list of bundle IDs which this coupon can be used against. |[optional]|
Copy file name to clipboardExpand all lines: docs/ResourcesCreatorApi.md
+70Lines changed: 70 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ All URIs are relative to *https://api.builtbybit.com*
15
15
|[**getV2ResourcesCreatorStores**](ResourcesCreatorApi.md#getV2ResourcesCreatorStores)|**GET** /v2/resources/creator/stores | Fetch a list of your stores |
16
16
|[**getV2ResourcesCreatorUpdates**](ResourcesCreatorApi.md#getV2ResourcesCreatorUpdates)|**GET** /v2/resources/creator/updates | Fetch a list of your resource's updates |
17
17
|[**getV2ResourcesCreatorVersions**](ResourcesCreatorApi.md#getV2ResourcesCreatorVersions)|**GET** /v2/resources/creator/versions | Fetch a list of your resources' versions |
18
+
|[**postV2ResourcesCreatorCoupons**](ResourcesCreatorApi.md#postV2ResourcesCreatorCoupons)|**POST** /v2/resources/creator/coupons | Create a new coupon |
18
19
|[**postV2ResourcesCreatorUpdate**](ResourcesCreatorApi.md#postV2ResourcesCreatorUpdate)|**POST** /v2/resources/creator/update | Post a resource update |
0 commit comments