GitHub

Introduction

Authentication

In order to access an endpoint, the request must contain an Authentication Header containing a Bearer token. To obtain one you need a valid eWMS username and password. Make sure that the user has the permissions to use the endpoints. A eWMS manager can modify the rights for each API user.

Selecting the eWMS

In order to make a request to an eWMS, you need to add the X-Wms-Code header to your request. This header is required for the middleware to send your request to the correct eWMS.

For development DEV can be used.

Selecting the eWMS Customer

In order to make a request on behalf of a eWMS customer, you need to add the X-Customer-Code header to your request. This header is required for the eWMS to validate your access to a customer.

For development please contact your account manager so the credentials can be set-up.

Mandatory headers

There are 2 mandatory headers that needs to be sent along with every request:

X-Wms-Code

The `X-Wms-Code` header is always required and defines what eWMS system you want to communicate with.

X-Customer-Code

The `X-Customer-Code` is always required unless you are logging in. This defines for which customer inside an eWMS you create orders etc.

Previous
Getting started