Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ All notable changes to the ordercloud-javascript-sdk will be documented in this
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# [11.1.5] - 2026-03-02
- Bring SDK up to date with API v1.0.436

# [11.1.4] - 2025-12-17
- Bring SDK up to date with API v1.0.432

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ Simply set the options you need to override and the SDK will merge it with the d
import { Configuration } from 'ordercloud-javascript-sdk';

Configuration.Set({
// This URL can be found on your dashboard or in the upper right hand context menu of your OrderCloud application in Sitecore Portal.
baseApiUrl: 'https://sandboxapi.ordercloud.io',
timeoutInMilliseconds: 20 * 1000
})
Expand Down
1 change: 1 addition & 0 deletions codegen/templates/Configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { SdkConfiguration } from './models'

class Configuration {
private defaultConfig: SdkConfiguration = {
// This URL can be found on your dashboard or in the upper right hand context menu of your OrderCloud application in Sitecore Portal.
baseApiUrl: 'https://api.ordercloud.io',
apiVersion: 'v1',
timeoutInMilliseconds: 60 * 1000, // 60 seconds by default
Expand Down
1 change: 1 addition & 0 deletions codegen/templates/models/SdkConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export interface SdkConfiguration {
/**
* The apiurl that will be used to talk to the ordercloud API.
* It may be useful to change this to interact with different environments
* This URL can be found on your dashboard or in the upper right hand context menu of your OrderCloud application in Sitecore Portal.
*
* Defaults to: https://api.ordercloud.io
*/
Expand Down
6 changes: 3 additions & 3 deletions docs/classes/Resources.Configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2>Properties</h2>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>config</span><a href="#config" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
<div class="tsd-signature">config<span class="tsd-signature-symbol">:</span> <a href="../interfaces/SdkConfiguration.html" class="tsd-signature-type" data-tsd-kind="Interface">SdkConfiguration</a><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<ul>
<li>Defined in Configuration.ts:17</li></ul></aside></section>
<li>Defined in Configuration.ts:18</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="defaultConfig" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>default<wbr/>Config</span><a href="#defaultConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">default<wbr/>Config<span class="tsd-signature-symbol">:</span> <a href="../interfaces/SdkConfiguration.html" class="tsd-signature-type" data-tsd-kind="Interface">SdkConfiguration</a><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
Expand All @@ -58,7 +58,7 @@ <h3 class="tsd-anchor-link"><span>Get</span><a href="#Get" aria-label="Permalink
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="../interfaces/SdkConfiguration.html" class="tsd-signature-type" data-tsd-kind="Interface">SdkConfiguration</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in Configuration.ts:37</li></ul></aside></li></ul></section>
<li>Defined in Configuration.ts:38</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="Set" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>Set</span><a href="#Set" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
Expand All @@ -71,7 +71,7 @@ <h4 class="tsd-parameters-title">Parameters</h4>
<h5>config: <a href="../interfaces/SdkConfiguration.html" class="tsd-signature-type" data-tsd-kind="Interface">SdkConfiguration</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in Configuration.ts:28</li></ul></aside></li></ul></section></section></div>
<li>Defined in Configuration.ts:29</li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
Loading