Skip to content

Commit a78e28f

Browse files
authored
Merge pull request #89 from aligent/release/1.6.1
Release/1.6.1
2 parents 2ddb811 + 9d7df73 commit a78e28f

23 files changed

+3274
-19
lines changed

.github/workflows/php.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches: [ main ]
66
pull_request:
7-
branches: [ main ]
87

98
jobs:
109
build:

RELEASE_NOTES.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
### Changes
22

3-
This release changes the root API client class from `BigCommerce\ApiV3\Client`
4-
to `BigCommerce\ApiV3\BaseApiClient`. The interface is unchanged, this abstract class
5-
has been added to allow for a common parent to both the V3 and V2 apis.
3+
- The JSON output from ResourceModels will no longer include the `$optionObject` that was used to construct them.
64

75
### New Features
86

9-
- Add support for creating Orders via the V2 API. In the future this will be removed in favour of a V3 API when an endpoint is added.
10-
- Add `CustomersApi::getAllPages()` which allows fetching all the Customers matching the filter in one request.
11-
7+
- Implement Store Information endpoints

docs/classes/BigCommerce-ApiV2-Api-StoreInformation-StoreInformationApi.html

Lines changed: 522 additions & 0 deletions
Large diffs are not rendered by default.

docs/classes/BigCommerce-ApiV2-ResourceModels-StoreInformation-StoreInformation.html

Lines changed: 1757 additions & 0 deletions
Large diffs are not rendered by default.

docs/classes/BigCommerce-ApiV2-V2ApiClient.html

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h2 class="phpdocumentor-content__title">
9797
<aside class="phpdocumentor-element-found-in">
9898
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerceLegacyApi/V2ApiClient.php"><a href="files/bigcommercelegacyapi-v2apiclient.html"><abbr title="BigCommerceLegacyApi/V2ApiClient.php">V2ApiClient.php</abbr></a></abbr>
9999
:
100-
<span class="phpdocumentor-element-found-in__line">30</span>
100+
<span class="phpdocumentor-element-found-in__line">32</span>
101101

102102
</aside>
103103

@@ -178,7 +178,7 @@ <h3 id="toc">
178178
<dt class="phpdocumentor-table-of-contents__entry -method -public">
179179
<a href="classes/BigCommerce-ApiV2-V2ApiClient.html#method_orders">orders()</a>
180180
<span>
181-
&nbsp;: mixed </span>
181+
&nbsp;: <a href="classes/BigCommerce-ApiV2-Api-Orders-OrdersApi.html"><abbr title="\BigCommerce\ApiV2\Api\Orders\OrdersApi">OrdersApi</abbr></a> </span>
182182
</dt>
183183
<dd></dd>
184184

@@ -208,6 +208,13 @@ <h3 id="toc">
208208
<span>
209209
&nbsp;: void </span>
210210
</dt>
211+
<dd></dd>
212+
213+
<dt class="phpdocumentor-table-of-contents__entry -method -public">
214+
<a href="classes/BigCommerce-ApiV2-V2ApiClient.html#method_storeInformation">storeInformation()</a>
215+
<span>
216+
&nbsp;: <a href="classes/BigCommerce-ApiV2-Api-StoreInformation-StoreInformationApi.html"><abbr title="\BigCommerce\ApiV2\Api\StoreInformation\StoreInformationApi">StoreInformationApi</abbr></a> </span>
217+
</dt>
211218
<dd></dd>
212219

213220
</dl>
@@ -463,22 +470,22 @@ <h4 class="phpdocumentor-element__name" id="method_orders">
463470
<aside class="phpdocumentor-element-found-in">
464471
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerceLegacyApi/V2ApiClient.php"><a href="files/bigcommercelegacyapi-v2apiclient.html"><abbr title="BigCommerceLegacyApi/V2ApiClient.php">V2ApiClient.php</abbr></a></abbr>
465472
:
466-
<span class="phpdocumentor-element-found-in__line">39</span>
473+
<span class="phpdocumentor-element-found-in__line">41</span>
467474

468475
</aside>
469476

470477

471478
<code class="phpdocumentor-code phpdocumentor-signature ">
472479
<span class="phpdocumentor-signature__visibility">public</span>
473-
<span class="phpdocumentor-signature__name">orders</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
480+
<span class="phpdocumentor-signature__name">orders</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/BigCommerce-ApiV2-Api-Orders-OrdersApi.html"><abbr title="\BigCommerce\ApiV2\Api\Orders\OrdersApi">OrdersApi</abbr></a></span></code>
474481

475482
<section class="phpdocumentor-description"></section>
476483

477484

478485

479486

480487
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
481-
<span class="phpdocumentor-signature__response_type">mixed</span>
488+
<span class="phpdocumentor-signature__response_type"><a href="classes/BigCommerce-ApiV2-Api-Orders-OrdersApi.html"><abbr title="\BigCommerce\ApiV2\Api\Orders\OrdersApi">OrdersApi</abbr></a></span>
482489
&mdash;
483490

484491

@@ -636,6 +643,39 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
636643
&mdash;
637644

638645

646+
</article>
647+
<article
648+
class="phpdocumentor-element
649+
-method
650+
-public
651+
"
652+
>
653+
<h4 class="phpdocumentor-element__name" id="method_storeInformation">
654+
storeInformation()
655+
<a href="classes/BigCommerce-ApiV2-V2ApiClient.html#method_storeInformation" class="headerlink"><i class="fas fa-link"></i></a>
656+
</h4>
657+
<aside class="phpdocumentor-element-found-in">
658+
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerceLegacyApi/V2ApiClient.php"><a href="files/bigcommercelegacyapi-v2apiclient.html"><abbr title="BigCommerceLegacyApi/V2ApiClient.php">V2ApiClient.php</abbr></a></abbr>
659+
:
660+
<span class="phpdocumentor-element-found-in__line">46</span>
661+
662+
</aside>
663+
664+
665+
<code class="phpdocumentor-code phpdocumentor-signature ">
666+
<span class="phpdocumentor-signature__visibility">public</span>
667+
<span class="phpdocumentor-signature__name">storeInformation</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/BigCommerce-ApiV2-Api-StoreInformation-StoreInformationApi.html"><abbr title="\BigCommerce\ApiV2\Api\StoreInformation\StoreInformationApi">StoreInformationApi</abbr></a></span></code>
668+
669+
<section class="phpdocumentor-description"></section>
670+
671+
672+
673+
674+
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
675+
<span class="phpdocumentor-signature__response_type"><a href="classes/BigCommerce-ApiV2-Api-StoreInformation-StoreInformationApi.html"><abbr title="\BigCommerce\ApiV2\Api\StoreInformation\StoreInformationApi">StoreInformationApi</abbr></a></span>
676+
&mdash;
677+
678+
639679
</article>
640680
</section>
641681

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Documentation</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<base href="../">
8+
<link rel="icon" href="images/favicon.ico"/>
9+
<link rel="stylesheet" href="css/normalize.css">
10+
<link rel="stylesheet" href="css/base.css">
11+
<link rel="preconnect" href="https://fonts.gstatic.com">
12+
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
13+
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
14+
<link rel="stylesheet" href="css/template.css">
15+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
16+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism-okaidia.css">
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.css">
18+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.css">
19+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
20+
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
21+
<script src="js/search.js"></script>
22+
<script defer src="js/searchIndex.js"></script>
23+
</head>
24+
<body id="top">
25+
<header class="phpdocumentor-header phpdocumentor-section">
26+
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
27+
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
28+
<label class="phpdocumentor-header__menu-icon" for="menu-button">
29+
<i class="fas fa-bars"></i>
30+
</label>
31+
<section data-search-form class="phpdocumentor-search">
32+
<label>
33+
<span class="visually-hidden">Search for</span>
34+
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
35+
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
36+
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
37+
</svg>
38+
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
39+
</label>
40+
</section>
41+
42+
<nav class="phpdocumentor-topnav">
43+
<ul class="phpdocumentor-topnav__menu">
44+
</ul>
45+
</nav>
46+
</header>
47+
48+
<main class="phpdocumentor">
49+
<div class="phpdocumentor-section">
50+
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
51+
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
52+
Menu
53+
</label>
54+
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
55+
56+
<section class="phpdocumentor-sidebar__category">
57+
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
58+
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/bigcommerce.html"><abbr title="\BigCommerce">BigCommerce</abbr></a></h4>
59+
<ul class="phpdocumentor-list">
60+
<li><a href="namespaces/bigcommerce-apiv3.html"><abbr title="\BigCommerce\ApiV3">ApiV3</abbr></a></li>
61+
<li><a href="namespaces/bigcommerce-apiv2.html"><abbr title="\BigCommerce\ApiV2">ApiV2</abbr></a></li>
62+
</ul>
63+
</section>
64+
65+
66+
<section class="phpdocumentor-sidebar__category">
67+
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
68+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
69+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
70+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
71+
</section>
72+
73+
<section class="phpdocumentor-sidebar__category">
74+
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
75+
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
76+
</section>
77+
</aside>
78+
79+
<div class="phpdocumentor-column -eight phpdocumentor-content">
80+
<ul class="phpdocumentor-breadcrumbs">
81+
</ul>
82+
83+
<article class="phpdocumentor-element -file">
84+
<h2 class="phpdocumentor-content__title">StoreInformationApi.php</h2>
85+
86+
87+
<section class="phpdocumentor-description"></section>
88+
89+
90+
91+
92+
93+
94+
<h3 id="interfaces_class_traits">
95+
Interfaces, Classes and Traits
96+
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
97+
</h3>
98+
99+
<dl class="phpdocumentor-table-of-contents">
100+
101+
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/BigCommerce-ApiV2-Api-StoreInformation-StoreInformationApi.html"><abbr title="\BigCommerce\ApiV2\Api\StoreInformation\StoreInformationApi">StoreInformationApi</abbr></a></dt>
102+
<dd></dd>
103+
104+
</dl>
105+
106+
107+
108+
109+
110+
111+
112+
113+
</article>
114+
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
115+
<section class="phpdocumentor-search-results__dialog">
116+
<header class="phpdocumentor-search-results__header">
117+
<h2 class="phpdocumentor-search-results__title">Search results</h2>
118+
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
119+
</header>
120+
<section class="phpdocumentor-search-results__body">
121+
<ul class="phpdocumentor-search-results__entries"></ul>
122+
</section>
123+
</section>
124+
</section>
125+
</div>
126+
</div>
127+
<a href="files/bigcommercelegacyapi-api-storeinformation-storeinformationapi.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
128+
129+
</main>
130+
131+
<script>
132+
cssVars({});
133+
</script>
134+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js"></script>
135+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.min.js"></script>
136+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.js"></script>
137+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.min.js"></script>
138+
</body>
139+
</html>
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Documentation</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<base href="../">
8+
<link rel="icon" href="images/favicon.ico"/>
9+
<link rel="stylesheet" href="css/normalize.css">
10+
<link rel="stylesheet" href="css/base.css">
11+
<link rel="preconnect" href="https://fonts.gstatic.com">
12+
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
13+
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
14+
<link rel="stylesheet" href="css/template.css">
15+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
16+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism-okaidia.css">
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.css">
18+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.css">
19+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
20+
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
21+
<script src="js/search.js"></script>
22+
<script defer src="js/searchIndex.js"></script>
23+
</head>
24+
<body id="top">
25+
<header class="phpdocumentor-header phpdocumentor-section">
26+
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
27+
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
28+
<label class="phpdocumentor-header__menu-icon" for="menu-button">
29+
<i class="fas fa-bars"></i>
30+
</label>
31+
<section data-search-form class="phpdocumentor-search">
32+
<label>
33+
<span class="visually-hidden">Search for</span>
34+
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
35+
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
36+
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
37+
</svg>
38+
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
39+
</label>
40+
</section>
41+
42+
<nav class="phpdocumentor-topnav">
43+
<ul class="phpdocumentor-topnav__menu">
44+
</ul>
45+
</nav>
46+
</header>
47+
48+
<main class="phpdocumentor">
49+
<div class="phpdocumentor-section">
50+
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
51+
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
52+
Menu
53+
</label>
54+
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
55+
56+
<section class="phpdocumentor-sidebar__category">
57+
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
58+
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/bigcommerce.html"><abbr title="\BigCommerce">BigCommerce</abbr></a></h4>
59+
<ul class="phpdocumentor-list">
60+
<li><a href="namespaces/bigcommerce-apiv3.html"><abbr title="\BigCommerce\ApiV3">ApiV3</abbr></a></li>
61+
<li><a href="namespaces/bigcommerce-apiv2.html"><abbr title="\BigCommerce\ApiV2">ApiV2</abbr></a></li>
62+
</ul>
63+
</section>
64+
65+
66+
<section class="phpdocumentor-sidebar__category">
67+
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
68+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
69+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
70+
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
71+
</section>
72+
73+
<section class="phpdocumentor-sidebar__category">
74+
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
75+
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
76+
</section>
77+
</aside>
78+
79+
<div class="phpdocumentor-column -eight phpdocumentor-content">
80+
<ul class="phpdocumentor-breadcrumbs">
81+
</ul>
82+
83+
<article class="phpdocumentor-element -file">
84+
<h2 class="phpdocumentor-content__title">StoreInformation.php</h2>
85+
86+
87+
<section class="phpdocumentor-description"></section>
88+
89+
90+
91+
92+
93+
94+
<h3 id="interfaces_class_traits">
95+
Interfaces, Classes and Traits
96+
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
97+
</h3>
98+
99+
<dl class="phpdocumentor-table-of-contents">
100+
101+
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/BigCommerce-ApiV2-ResourceModels-StoreInformation-StoreInformation.html"><abbr title="\BigCommerce\ApiV2\ResourceModels\StoreInformation\StoreInformation">StoreInformation</abbr></a></dt>
102+
<dd></dd>
103+
104+
</dl>
105+
106+
107+
108+
109+
110+
111+
112+
113+
</article>
114+
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
115+
<section class="phpdocumentor-search-results__dialog">
116+
<header class="phpdocumentor-search-results__header">
117+
<h2 class="phpdocumentor-search-results__title">Search results</h2>
118+
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
119+
</header>
120+
<section class="phpdocumentor-search-results__body">
121+
<ul class="phpdocumentor-search-results__entries"></ul>
122+
</section>
123+
</section>
124+
</section>
125+
</div>
126+
</div>
127+
<a href="files/bigcommercelegacyapi-resourcemodels-storeinformation-storeinformation.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
128+
129+
</main>
130+
131+
<script>
132+
cssVars({});
133+
</script>
134+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/prism.min.js"></script>
135+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.min.js"></script>
136+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-numbers/prism-line-numbers.min.js"></script>
137+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/line-highlight/prism-line-highlight.min.js"></script>
138+
</body>
139+
</html>

0 commit comments

Comments
 (0)