Export Filialbestand

JSON-REST Endpunkt fuer den Export von Filialbestaenden je Artikel und Variante.

Zweck

Der Endpunkt liefert verfuegbare Bestaende pro Filiale fuer einen Artikel inklusive Varianten.

Endpunkt

  • Methode: GET
  • URL-Muster: http://<server>:<odata-port>/<service-tier>/api/BEterna/Export/v2.0/companies(<company-system-id>)/branchInventories?$filter=webshopChannelCode eq '<webshop-channel-code>' and no eq '<item-no>'&$expand=branchItemVariants($expand=branchLocations)

Pflichtparameter

  • webshopChannelCode im Filter
  • no (Artikelnummer) im Filter

Zentrale Rueckgabefelder

  • Kopf: webshopChannelCode, no
  • Varianten: code
  • Filialdaten: code, inventory, calculationTimeStamp

Ergebnis

  • Der Webshop erhaelt filialgenaue Bestandsdaten fuer Verfuegbarkeitslogik.