Introduction

This API allows certain brands that make use of our Sales Dashboard to receive retailers' stock.

Using the API

You can see the full API documentation here: https://documenter.getpostman.com/view/9481065/Tz5qbxiW

Alternatively, you can use the documentation below. Please also read the "good to know" section at the bottom.

Authentication

Authentication happens through a standard OAuth 2.0 connection. Use the following details:

URL: https://api.fashioncloud.co/account-service/oauth2/token

Method: POST

Header: -

Body:

{
  "grantType": "password",
  "username": "<email address>",
  "password": "<secret password>"
}

Use your known username / password

Response:

{
  "token": "<token>",
  "refreshToken": "<refresh token>",
  "expiresIn": 86400,
  "expiresAt": 1615624470
}

Use the value in token in subsequent API calls.

Making the API call

URL: <https://sales.fashionexchange.nl/api/inventory/stock/>
URL Params: retailer (optionally filter on GLN)
Method: PUT
Headers: Authorization: Bearer <token>
Body (Mandatory. Maximum number of EANs per request is limited to 1000):
{
  "eans": ["8719749562756", "8719436190446", "8719749541362"]
}

Implementation details: