Ingram.Marketplace.Connection (Ingram Marketplace API v1.4.2) View Source

Handle Tesla connections for Ingram.Model.

Link to this section Summary

Functions

Configure a client with a subscription key and the credentials specified in config.exs.

Configure a client connection using a provided OAuth2 token as a Bearer token and subscription key.

Link to this section Functions

Specs

new() :: Tesla.Env.client()

Configure a client with a subscription key and the credentials specified in config.exs.

Returns

Tesla.Env.client

Link to this function

new(subscription_key, token)

View Source

Specs

Configure a client connection using a provided OAuth2 token as a Bearer token and subscription key.

Parameters

  • subscription_key (String.t): The ID of your reseller's subscription on the API gateway that defines restrictions on your API calls.
  • token (String): Bearer token

Returns

Tesla.Env.client