Skip to content

3.0.0 Breaking changes: rename what sdk calls itself internally

Choose a tag to compare

@crhistianramirez crhistianramirez released this 30 Nov 20:26
· 504 commits to master since this release
585b7a5

This should only impact anyone using the sdk server side. Clientside users should not (generally) be interacting with the sdk instance

ApiClient => Sdk

Reason is that ordercloud now has a resource for managing ApiClients so there is a name clash. This is a breaking change because it changes how you access the client instance.

var defaultClient = OrderCloud.ApiClient.instance;

becomes:

var defaultClient = OrderCloud.Sdk.instance;