Skip to main content

Robot Products

GET 

https://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

OK

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

    List of product codes

    EanCodestring[]
    Example: ["4030539112468","4030539113007"]
    GtinCodestring[]
    Example: ["08717606032053"]
    CnkCodestring[]
    Example: ["1013168"]
    Acl13Codestring[]
    Example: ["3401123456789"]
    Cip13Codestring[]
    Example: ["3400123456789"]
    CipOrAcl7Codestring[]
    Example: ["1234567"]
    OspCodestring[]
    Example: ["some-code-OspCode"]
    PznCodestring[]
    Example: ["1234567","12345678"]
    PznAustriaCodestring[]
    Example: ["1234567","7654321"]
    UdiCodestring[]
    Example: ["1234567"]
    CodeNationalstring[]
    Example: ["123456"]
    PdkCodestring[]
    Example: ["1234567"]
    SuklCodestring[]
    Example: ["1234567"]
    CustomCodestring[]
    Example: ["Custom1234567"]
  • ]
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());
Request Collapse all
Base URL
https://api.lochting.com/public/v1
Parameters
— headerrequired
ResponseClear

Click the Send API Request button above and see the response here!