Example project

This section contains an example project that will help you get familiar with various aspects of working with Struct PIM

To help you get familiar with both new and existing functionality in Struct PIM, we provide an example project that demonstrates how different features can be used in practice.

API demo project

A demo project for getting started with the Struct Web API. It shows how to work with products, variants, and categories, including creating, updating, and searching data. The project uses the Struct.App.Api.Client NuGet package and includes a T4 template for generating strongly typed C# models based on your PIM.

About the demo project

Use this demo project to get familiar with the Web API. This project shows examples of getting product-, variant and category data as well as how to create and update these.

Furthermore, examples are shown on how to search products and work with global lists through the API.

To see the full reference of all API endpoints, click here.

Getting started

The project is a complete Visual Studio solution, using the Struct.App.Api.Client, available in Nuget, to fetch data from a Struct PIM instance.

All you need to do, is unzip the downloaded project and set up the Url for your Struct PIM instance as well as an API key for that instance and you are good to go.

See project on GitHub

Autogenerate C# classes

We provide a T4Template which, using the API, can autogenerate C# classes for you matching the models in Struct PIM, yielding strongly typed models for you to use with the API.

Download model generator here

Last updated