---
# System prepended metadata

title: 'Live coding task: insert products to the topsort api'

---

# Live coding task: insert products to the topsort api

At Topsort, a very common task while integrating with us is making various api calls. Our api documentation can be found here: https://docs.topsort.com/reference/integration-overview

## Task

Upsert products, vendors and categories to the Topsort API, respecting rate limiting rules. Also, create a function that can retrieve a product given a product id.

Data can be used from third party sources online, generated or mocked from faking libraries.

API KEY: `TSE_8a5ewvsMxZi5QRrlEF99mgQItaZhvG0J2UL6`
ADVANCED API KEY: `TSC_06dvopFz4GsA2O6PnqUUwOlEn549rX3RoVgQ`
MARKETPLACE_ID: `019243c0-9eec-70d2-a3ec-2fd04c0243d0`

## Restrictions / guidelines

- Use any open source framework, component library or template starters can be used to achieve the task. 
- https://docs.topsort.com/ and https://api.docs.topsort.com/ covers what you need.
- There is also an openapi json here: https://docs.topsort.com/openapi.json if you want to generate a client
- Feel free to use google, chatgpt or anything else that you usually go to for work
