Skip to content

Commit

Permalink
Regenerate documentation with the addition of Channels APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
jswift committed Apr 13, 2021
1 parent 5d13790 commit 14ae439
Show file tree
Hide file tree
Showing 73 changed files with 15,021 additions and 124 deletions.
33 changes: 22 additions & 11 deletions docs/classes/BigCommerce-ApiV3-Api-Carts-CartItemsApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,24 @@ <h2 class="phpdocumentor-content__title">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartItemsApi.php"><a href="files/bigcommerce-api-carts-cartitemsapi.html"><abbr title="BigCommerce/Api/Carts/CartItemsApi.php">CartItemsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">11</span>
<span class="phpdocumentor-element-found-in__line">32</span>
</aside>

<p class="phpdocumentor-summary">V3ApiBase</p>
<p class="phpdocumentor-summary">Cart Items API</p>

<section class="phpdocumentor-description"><p>Add constructors and some basic scaffolding that will work for all API classes
regardless of which endpoints they implement</p>
<section class="phpdocumentor-description"><p>Example for adding a line item to a cart:</p>
<pre class="prettyprint"><code class="language-php">$api = new BigCommerce\ApiV3\Client($_ENV['hash'], $_ENV['CLIENT_ID'], $_ENV['ACCESS_TOKEN']);

$lineItem = new CartItem();
$lineItem-&gt;line_items[] = [
&quot;sku&quot; =&gt; &quot;made-up&quot;,
&quot;name&quot; =&gt; &quot;My product&quot;,
&quot;quantity&quot; =&gt; 33,
&quot;list_price&quot; =&gt; 55
];

$api()-&gt;cart($id)-&gt;items()-&gt;add($lineItem, CartItemsApi::INCLUDE_REDIRECT_URLS);
</code></pre>
</section>


Expand Down Expand Up @@ -243,7 +254,7 @@ <h4 class="phpdocumentor-element__name" id="constant_INCLUDE_DIGITAL_ITEMS">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartItemsApi.php"><a href="files/bigcommerce-api-carts-cartitemsapi.html"><abbr title="BigCommerce/Api/Carts/CartItemsApi.php">CartItemsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">31</span>
<span class="phpdocumentor-element-found-in__line">52</span>
</aside>

<p class="phpdocumentor-summary">The Cart returns an abbreviated result. Use this to return digital items product options.</p>
Expand All @@ -270,7 +281,7 @@ <h4 class="phpdocumentor-element__name" id="constant_INCLUDE_PHYSICAL_ITEMS">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartItemsApi.php"><a href="files/bigcommerce-api-carts-cartitemsapi.html"><abbr title="BigCommerce/Api/Carts/CartItemsApi.php">CartItemsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">26</span>
<span class="phpdocumentor-element-found-in__line">47</span>
</aside>

<p class="phpdocumentor-summary">The Cart returns an abbreviated result. Use this to return physical items product options.</p>
Expand All @@ -297,7 +308,7 @@ <h4 class="phpdocumentor-element__name" id="constant_INCLUDE_REDIRECT_URLS">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartItemsApi.php"><a href="files/bigcommerce-api-carts-cartitemsapi.html"><abbr title="BigCommerce/Api/Carts/CartItemsApi.php">CartItemsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">21</span>
<span class="phpdocumentor-element-found-in__line">42</span>
</aside>

<p class="phpdocumentor-summary">Create a direct link to a Cart.</p>
Expand Down Expand Up @@ -393,7 +404,7 @@ <h4 class="phpdocumentor-element__name" id="method_add">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartItemsApi.php"><a href="files/bigcommerce-api-carts-cartitemsapi.html"><abbr title="BigCommerce/Api/Carts/CartItemsApi.php">CartItemsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">33</span>
<span class="phpdocumentor-element-found-in__line">54</span>
</aside>


Expand Down Expand Up @@ -602,7 +613,7 @@ <h4 class="phpdocumentor-element__name" id="method_multipleResourceUrl">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartItemsApi.php"><a href="files/bigcommerce-api-carts-cartitemsapi.html"><abbr title="BigCommerce/Api/Carts/CartItemsApi.php">CartItemsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">61</span>
<span class="phpdocumentor-element-found-in__line">82</span>
</aside>


Expand Down Expand Up @@ -718,7 +729,7 @@ <h4 class="phpdocumentor-element__name" id="method_singleResourceUrl">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartItemsApi.php"><a href="files/bigcommerce-api-carts-cartitemsapi.html"><abbr title="BigCommerce/Api/Carts/CartItemsApi.php">CartItemsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">66</span>
<span class="phpdocumentor-element-found-in__line">87</span>
</aside>


Expand Down Expand Up @@ -750,7 +761,7 @@ <h4 class="phpdocumentor-element__name" id="method_update">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartItemsApi.php"><a href="files/bigcommerce-api-carts-cartitemsapi.html"><abbr title="BigCommerce/Api/Carts/CartItemsApi.php">CartItemsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">47</span>
<span class="phpdocumentor-element-found-in__line">68</span>
</aside>


Expand Down
27 changes: 21 additions & 6 deletions docs/classes/BigCommerce-ApiV3-Api-Carts-CartRedirectUrlsApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,28 @@ <h2 class="phpdocumentor-content__title">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartRedirectUrlsApi.php"><a href="files/bigcommerce-api-carts-cartredirecturlsapi.html"><abbr title="BigCommerce/Api/Carts/CartRedirectUrlsApi.php">CartRedirectUrlsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">8</span>
<span class="phpdocumentor-element-found-in__line">32</span>
</aside>

<p class="phpdocumentor-summary">V3ApiBase</p>

<section class="phpdocumentor-description"><p>Add constructors and some basic scaffolding that will work for all API classes
regardless of which endpoints they implement</p>
<p class="phpdocumentor-summary">Cart Redirect URLS</p>

<section class="phpdocumentor-description"><p>Creates a Cart redirect URL for redirecting a shopper to an already created cart using the cartId.</p>
<h4>Usage Notes</h4>
<ul>
<li>Redirect URLs can also be created via Create a Cart requests by appending include=redirect_urls.</li>
<li>A Carts redirect URLs may only be used once.</li>
<li>Once a redirect URL has been visited, it will be invalidated and cannot be used again.</li>
<li>If your application requires URLs to be visited more than once, consider generating a fresh one each time you need
to restore a cart, and redirecting to the URL from your own application.</li>
<li>Redirect URLs can be generated only from carts created using the Server to Server Cart API.</li>
<li>To restore a cart that was created on the storefront, either by a shopper or the Storefront Cart API, first
recreate the cart using the Server to Server Cart API.</li>
</ul>
<p>Example:</p>
<code class="prettyprint">
$api = new BigCommerce\ApiV3\Client($_ENV['hash'], $_ENV['CLIENT_ID'], $_ENV['ACCESS_TOKEN']);
<p>$urls = $api-&gt;cart('sadfghj')-&gt;redirectUrls()-&gt;getRedirectUrls();
</code></p>
</section>


Expand Down Expand Up @@ -264,7 +279,7 @@ <h4 class="phpdocumentor-element__name" id="method_create">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartRedirectUrlsApi.php"><a href="files/bigcommerce-api-carts-cartredirecturlsapi.html"><abbr title="BigCommerce/Api/Carts/CartRedirectUrlsApi.php">CartRedirectUrlsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">12</span>
<span class="phpdocumentor-element-found-in__line">36</span>
</aside>


Expand Down
28 changes: 16 additions & 12 deletions docs/classes/BigCommerce-ApiV3-Api-Carts-CartsApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,17 @@ <h2 class="phpdocumentor-content__title">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartsApi.php"><a href="files/bigcommerce-api-carts-cartsapi.html"><abbr title="BigCommerce/Api/Carts/CartsApi.php">CartsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">13</span>
<span class="phpdocumentor-element-found-in__line">27</span>
</aside>

<p class="phpdocumentor-summary">V3ApiBase</p>
<p class="phpdocumentor-summary">Carts API</p>

<section class="phpdocumentor-description"><p>Add constructors and some basic scaffolding that will work for all API classes
regardless of which endpoints they implement</p>
<section class="phpdocumentor-description"><p>The is the store management access for creating and viewing carts (not for customers to access carts)</p>
<p>Example fetching the contents of a cart:</p>
<code class="prettyprint">
$api = new BigCommerce\ApiV3\Client($_ENV['hash'], $_ENV['CLIENT_ID'], $_ENV['ACCESS_TOKEN']);
<p>$cart = $api-&gt;carts('abcdefg;)-&gt;get()-&gt;getCart();
</code></p>
</section>


Expand Down Expand Up @@ -299,7 +303,7 @@ <h4 class="phpdocumentor-element__name" id="method_create">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartsApi.php"><a href="files/bigcommerce-api-carts-cartsapi.html"><abbr title="BigCommerce/Api/Carts/CartsApi.php">CartsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">27</span>
<span class="phpdocumentor-element-found-in__line">41</span>
</aside>


Expand Down Expand Up @@ -341,7 +345,7 @@ <h4 class="phpdocumentor-element__name" id="method_get">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartsApi.php"><a href="files/bigcommerce-api-carts-cartsapi.html"><abbr title="BigCommerce/Api/Carts/CartsApi.php">CartsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">22</span>
<span class="phpdocumentor-element-found-in__line">36</span>
</aside>


Expand Down Expand Up @@ -501,7 +505,7 @@ <h4 class="phpdocumentor-element__name" id="method_item">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartsApi.php"><a href="files/bigcommerce-api-carts-cartsapi.html"><abbr title="BigCommerce/Api/Carts/CartsApi.php">CartsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">54</span>
<span class="phpdocumentor-element-found-in__line">68</span>
</aside>


Expand Down Expand Up @@ -543,7 +547,7 @@ <h4 class="phpdocumentor-element__name" id="method_items">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartsApi.php"><a href="files/bigcommerce-api-carts-cartsapi.html"><abbr title="BigCommerce/Api/Carts/CartsApi.php">CartsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">62</span>
<span class="phpdocumentor-element-found-in__line">76</span>
</aside>


Expand Down Expand Up @@ -575,7 +579,7 @@ <h4 class="phpdocumentor-element__name" id="method_multipleResourceUrl">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartsApi.php"><a href="files/bigcommerce-api-carts-cartsapi.html"><abbr title="BigCommerce/Api/Carts/CartsApi.php">CartsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">49</span>
<span class="phpdocumentor-element-found-in__line">63</span>
</aside>


Expand Down Expand Up @@ -607,7 +611,7 @@ <h4 class="phpdocumentor-element__name" id="method_redirectUrls">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartsApi.php"><a href="files/bigcommerce-api-carts-cartsapi.html"><abbr title="BigCommerce/Api/Carts/CartsApi.php">CartsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">70</span>
<span class="phpdocumentor-element-found-in__line">84</span>
</aside>


Expand Down Expand Up @@ -681,7 +685,7 @@ <h4 class="phpdocumentor-element__name" id="method_singleResourceUrl">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartsApi.php"><a href="files/bigcommerce-api-carts-cartsapi.html"><abbr title="BigCommerce/Api/Carts/CartsApi.php">CartsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">44</span>
<span class="phpdocumentor-element-found-in__line">58</span>
</aside>


Expand Down Expand Up @@ -713,7 +717,7 @@ <h4 class="phpdocumentor-element__name" id="method_updateCustomerId">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Carts/CartsApi.php"><a href="files/bigcommerce-api-carts-cartsapi.html"><abbr title="BigCommerce/Api/Carts/CartsApi.php">CartsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">32</span>
<span class="phpdocumentor-element-found-in__line">46</span>
</aside>


Expand Down
20 changes: 11 additions & 9 deletions docs/classes/BigCommerce-ApiV3-Api-Catalog-BrandsApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ <h4 class="phpdocumentor-element__name" id="method_create">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Catalog/BrandsApi.php"><a href="files/bigcommerce-api-catalog-brandsapi.html"><abbr title="BigCommerce/Api/Catalog/BrandsApi.php">BrandsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">114</span>
<span class="phpdocumentor-element-found-in__line">115</span>
</aside>

<p class="phpdocumentor-summary">Creates a Brand.</p>
Expand Down Expand Up @@ -475,7 +475,7 @@ <h4 class="phpdocumentor-element__name" id="method_getAll">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Catalog/BrandsApi.php"><a href="files/bigcommerce-api-catalog-brandsapi.html"><abbr title="BigCommerce/Api/Catalog/BrandsApi.php">BrandsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">89</span>
<span class="phpdocumentor-element-found-in__line">90</span>
</aside>

<p class="phpdocumentor-summary">Returns a list of Brands.</p>
Expand All @@ -494,7 +494,8 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array of optional features. For available filters, see <a href="https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands"><abbr title="https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands">https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands</abbr></a></p>
<section class="phpdocumentor-description"><p>Array of optional features. For available filters,
see <a href="https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands"><abbr title="https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands">https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands</abbr></a></p>
</section>

</dd>
Expand Down Expand Up @@ -555,7 +556,7 @@ <h4 class="phpdocumentor-element__name" id="method_getAllPages">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Catalog/BrandsApi.php"><a href="files/bigcommerce-api-catalog-brandsapi.html"><abbr title="BigCommerce/Api/Catalog/BrandsApi.php">BrandsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">152</span>
<span class="phpdocumentor-element-found-in__line">154</span>
</aside>

<p class="phpdocumentor-summary">Get all brands, fetching multiple pages</p>
Expand All @@ -574,7 +575,8 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array of optional features. For available filters, see <a href="https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands"><abbr title="https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands">https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands</abbr></a></p>
<section class="phpdocumentor-description"><p>Array of optional features. For available filters,
see <a href="https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands"><abbr title="https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands">https://developer.bigcommerce.com/api-reference/store-management/catalog/brands/getbrands</abbr></a></p>
</section>

</dd>
Expand Down Expand Up @@ -713,7 +715,7 @@ <h4 class="phpdocumentor-element__name" id="method_image">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Catalog/BrandsApi.php"><a href="files/bigcommerce-api-catalog-brandsapi.html"><abbr title="BigCommerce/Api/Catalog/BrandsApi.php">BrandsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">173</span>
<span class="phpdocumentor-element-found-in__line">175</span>
</aside>

<p class="phpdocumentor-summary">Get the Brand Image API for this brand</p>
Expand Down Expand Up @@ -767,7 +769,7 @@ <h4 class="phpdocumentor-element__name" id="method_metafield">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Catalog/BrandsApi.php"><a href="files/bigcommerce-api-catalog-brandsapi.html"><abbr title="BigCommerce/Api/Catalog/BrandsApi.php">BrandsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">202</span>
<span class="phpdocumentor-element-found-in__line">205</span>
</aside>

<p class="phpdocumentor-summary">Get the singular Brand Metafields API</p>
Expand Down Expand Up @@ -828,7 +830,7 @@ <h4 class="phpdocumentor-element__name" id="method_metafields">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Catalog/BrandsApi.php"><a href="files/bigcommerce-api-catalog-brandsapi.html"><abbr title="BigCommerce/Api/Catalog/BrandsApi.php">BrandsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">187</span>
<span class="phpdocumentor-element-found-in__line">189</span>
</aside>

<p class="phpdocumentor-summary">Get the Plural BrandMetafields API</p>
Expand Down Expand Up @@ -878,7 +880,7 @@ <h4 class="phpdocumentor-element__name" id="method_update">
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="BigCommerce/Api/Catalog/BrandsApi.php"><a href="files/bigcommerce-api-catalog-brandsapi.html"><abbr title="BigCommerce/Api/Catalog/BrandsApi.php">BrandsApi.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">136</span>
<span class="phpdocumentor-element-found-in__line">137</span>
</aside>

<p class="phpdocumentor-summary">Update a Brand</p>
Expand Down
Loading

0 comments on commit 14ae439

Please sign in to comment.