Skip to content

Commit

Permalink
Merge pull request #75 from aligent/fix/redirects-payload-too-large
Browse files Browse the repository at this point in the history
Fix/redirects payload too large
  • Loading branch information
jswift authored Jun 30, 2021
2 parents 4f32935 + 19e3672 commit 89c980a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
### Fixes

### New Features

- Add `setCustomUrl()` to **Category**, **Brand**, and **Product** for simpler custom url setup
- Fixes `The request payload is too large. The maximum items allowed in the array is 50`
error on upsert redirects endpoint
2 changes: 1 addition & 1 deletion src/BigCommerce/Api/Redirects/RedirectsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class RedirectsApi extends V3ApiBase

protected function maxBatchSize(): int
{
return 100;
return 50;
}

public function multipleResourceUrl(): string
Expand Down

0 comments on commit 89c980a

Please sign in to comment.