Skip to main content

Extra information

System documentation: Vendiro API Reference

Connector package documentation

Table of Contents

  • 1. Setting up HTTP Client Vendiro
    • 1.1 Steps
  • 2. Subscribing to entities from Vendiro
    • 2.1 Steps
    • 2.2 General concept
  • 3. Publishing entity to Vendiro
    • 3.1 Steps
    • 3.2 General concept

1. Setting up HTTP Client Vendiro

1.1 Steps
  1. In Alumio Dashboard, go to Clients -> HTTP Clients. Create a new HTTP Client and select Vendiro Client as the prototype of the HTTP Client.
  2. Fill in the Bearer Toke according to your Vendiro account.
  3. You can optionally enable logging of requests to get the log of the authentication.
  4. Save the HTTP Client.
Vendiro connector screenshot 1

2. Subscribing to Entities from Vendiro

2.1 Steps
  1. Go to Connections -> Incoming, create a new incoming configuration, and select Vendiro Subscriber as the subscriber.
  2. Select the entity you want to subscribe to Vendiro.
  3. Add any request parameters needed to subscribe to the entity. Please refer to an example in the General Concept section.
  4. You can optionally add a transformer to transform the request parameters into something you need.
  5. Select the Vendiro HTTP Client to use.
  6. You can also optionally enable pagination to allow Alumio fetches paginated entities.
Vendiro connector screenshot 2 2.2 General Concept We follow Vendiro documentation on building this connector, so you can easily use the connector based on https://api.vendiro.nl/docs/. Entity It’s the entity you want to subscribe to Exact Global. Please refer to the entities in Management APIs from Vendiro API Reference page. Request Parameters It’s the parameters you can provide to get the needed entity based on Vendiro API Reference. Please look at the example below on how to fill Request Parameters field when subscribing Get Account Information entity. We can see in the documentation that setting by ID entity requires ID as a path parameter to define which order we want to fetch the details from. Vendiro connector screenshot 3 Input Transformer Any transformer’s set here will be executed after the Request Parameters loaded. So, you basically can add any transformer to provide and transform the request parameters into anything you need, either as path parameters and/or as query parameters of an entity. HTTP Client You will use the HTTP Client configuration or prototype to access Vendiro.

3. Publishing entity to Vendiro

3.1 Steps
  1. Go to Connections -> Outgoing, create a new outgoing configuration, and select Vendiro Publisher as the publisher.
  2. Select the method that you want the publisher to use with the data.
  3. Select the Vendiro entity you want the data to be published to.
  4. Select the HTTP Client to use.
Vendiro connector screenshot 4 3.2 General Concept Like the subscriber, the publisher has similar methods on how to use it. The difference is the payload that will be submitted by the publisher originating from the data (from routes, from transformers in outgoing configuration). However, you can also add or modify payload using the Request Transformer. Method Currently we support POST, PUT methods for submitting data to Vendiro. Entity We support publishing to most Vendiro endpoints. Please refer to Vendiro API Reference page. Based on the documentation, some endpoints may need one or more path parameters. For example, we want to “Send Update Stock”. Vendiro connector screenshot 5 The documentation says that we need SKU and stock in the payload. In that case, you need to provide SKU and stock property into the payload property in the data, either as an output from Routes or output from Transformers in Outgoing Configuration. Here is an example of the required data. Vendiro connector screenshot 6
  • Path is the path parameter of the url. For example, the {id}.
  • Query is a defined set of parameters attached to the end of a url.
    Example: www.url.com?type=true&start=0
  • Payload is the data contained within a request.
Alumio will send an API request to Vendiro with URL /client/products/reserved-stock HTTP Client You will use the HTTP Client configuration or prototype to access Vendiro.