# Ingram Marketplace API

Ingram Micro Marketplace API for running a cloud reselling business.

## Installation

The package can be installed by adding `ingram_marketplace` to your list of dependencies in `mix.exs`:

def deps do
  [{:ingram_marketplace, "~> 1.4"}]

Configure the library with the following lines in your `config.exs`:

config :ingram_marketplace,
  #url: "" # prod
  url: "",
  marketplace: "us", # or "de" or "stg" for staging/dev
  subscription_key: "<your subscription key>",
  username: "<your username>",
  password: "<your password>"

Documentation can be found at [](

## Generating APIs

To install the required dependencies and to build the elixir project, run:

npm --prefix node-generator install
cd node-generator
npx openapi-generator-cli generate  -c ../ingram-openapi.json  -g elixir -o Ingram.Marketplace -i --skip-validate-spec