Skip to content

Commit

Permalink
Increased coupon batch up size from 20 to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
perrytew committed Feb 12, 2021
1 parent e66d8fd commit fd2f038
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/Api/CouponApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
$simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00';
$api_instance = ultracart\v2\api\CouponApi::usingApiKey($simple_key);

$coupons_request = new \ultracart\v2\models\CouponsRequest(); // \ultracart\v2\models\CouponsRequest | Coupons to update (synchronous maximum 20 / asynchronous maximum 100)
$coupons_request = new \ultracart\v2\models\CouponsRequest(); // \ultracart\v2\models\CouponsRequest | Coupons to update (synchronous maximum 50 / asynchronous maximum 100)
$_expand = "_expand_example"; // string | The object expansion to perform on the result. See documentation for examples
$_placeholders = true; // bool | Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
$_async = true; // bool | True if the operation should be run async. No result returned
Expand All @@ -915,7 +915,7 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**coupons_request** | [**\ultracart\v2\models\CouponsRequest**](../Model/CouponsRequest.md)| Coupons to update (synchronous maximum 20 / asynchronous maximum 100) |
**coupons_request** | [**\ultracart\v2\models\CouponsRequest**](../Model/CouponsRequest.md)| Coupons to update (synchronous maximum 50 / asynchronous maximum 100) |
**_expand** | **string**| The object expansion to perform on the result. See documentation for examples | [optional]
**_placeholders** | **bool**| Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. | [optional]
**_async** | **bool**| True if the operation should be run async. No result returned | [optional]
Expand Down
12 changes: 6 additions & 6 deletions lib/api/CouponApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -5893,7 +5893,7 @@ protected function updateCouponRequest($coupon, $coupon_oid, $_expand = null)
*
* Update multiple coupons
*
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 20 / asynchronous maximum 100) (required)
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 50 / asynchronous maximum 100) (required)
* @param string $_expand The object expansion to perform on the result. See documentation for examples (optional)
* @param bool $_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. (optional)
* @param bool $_async True if the operation should be run async. No result returned (optional)
Expand All @@ -5914,7 +5914,7 @@ public function updateCoupons($coupons_request, $_expand = null, $_placeholders
*
* Update multiple coupons
*
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 20 / asynchronous maximum 100) (required)
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 50 / asynchronous maximum 100) (required)
* @param string $_expand The object expansion to perform on the result. See documentation for examples (optional)
* @param bool $_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. (optional)
* @param bool $_async True if the operation should be run async. No result returned (optional)
Expand All @@ -5935,7 +5935,7 @@ public function updateCouponsWithHttpInfo($coupons_request, $_expand = null, $_p
* Update multiple coupons
*
* @param boolean $retry should this method retry the call if a rate limit is triggered (required)
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 20 / asynchronous maximum 100) (required)
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 50 / asynchronous maximum 100) (required)
* @param string $_expand The object expansion to perform on the result. See documentation for examples (optional)
* @param bool $_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. (optional)
* @param bool $_async True if the operation should be run async. No result returned (optional)
Expand Down Expand Up @@ -6054,7 +6054,7 @@ public function updateCouponsWithHttpInfoRetry($retry , $coupons_request, $_ex
*
* Update multiple coupons
*
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 20 / asynchronous maximum 100) (required)
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 50 / asynchronous maximum 100) (required)
* @param string $_expand The object expansion to perform on the result. See documentation for examples (optional)
* @param bool $_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. (optional)
* @param bool $_async True if the operation should be run async. No result returned (optional)
Expand All @@ -6077,7 +6077,7 @@ function ($response) {
*
* Update multiple coupons
*
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 20 / asynchronous maximum 100) (required)
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 50 / asynchronous maximum 100) (required)
* @param string $_expand The object expansion to perform on the result. See documentation for examples (optional)
* @param bool $_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. (optional)
* @param bool $_async True if the operation should be run async. No result returned (optional)
Expand Down Expand Up @@ -6130,7 +6130,7 @@ function ($exception) {
/**
* Create request for operation 'updateCoupons'
*
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 20 / asynchronous maximum 100) (required)
* @param \ultracart\v2\models\CouponsRequest $coupons_request Coupons to update (synchronous maximum 50 / asynchronous maximum 100) (required)
* @param string $_expand The object expansion to perform on the result. See documentation for examples (optional)
* @param bool $_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. (optional)
* @param bool $_async True if the operation should be run async. No result returned (optional)
Expand Down

0 comments on commit fd2f038

Please sign in to comment.