Robot Products
GEThttps://api.lochting.com/public/v1/product/robot
Fetch all products in the robot product selection along with their stock levels and product codes.
Request
Header Parameters
Authorization stringrequired
Example: your-access-token
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
productIdstringrequired
The internal Lochting id of the product, prefixed with product-
and followed by a 36 characters long UUID.
Example:
product-c7d932c1-84e8-410c-a9b2-18bf739d6b8b
quantityintegerrequired
Quantity in stock
Example:
2
productCodes objectrequired
[
{
"productId": "product-c7d932c1-84e8-410c-a9b2-18bf739d6b8b",
"quantity": 2,
"productCodes": {
"EanCode": [
"4030539112468",
"4030539113007"
],
"GtinCode": [
"08717606032053"
],
"CnkCode": [
"1013168"
],
"Acl13Code": [
"3401123456789"
],
"Cip13Code": [
"3400123456789"
],
"CipOrAcl7Code": [
"1234567"
],
"OspCode": [
"some-code-OspCode"
],
"PznCode": [
"1234567",
"12345678"
],
"PznAustriaCode": [
"1234567",
"7654321"
],
"UdiCode": [
"1234567"
],
"CodeNational": [
"123456"
],
"PdkCode": [
"1234567"
],
"SuklCode": [
"1234567"
],
"CustomCode": [
"Custom1234567"
]
}
}
]
Unauthorized
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.lochting.com/public/v1/product/robot");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear