Export Order Status

JSON-REST endpoint for exporting order status on header and line level.

Purpose

This endpoint provides order status history on both header and line level.

Endpoint

  • Method: GET
  • URL pattern: http://<server>:<odata-port>/<service-tier>/api/BEterna/Export/v2.0/companies(<company-system-id>)/orderStatusCodes?$filter=webshopChannelCode eq '<webshop-channel-code>' and externalDocumentNo eq '<external-document-no>'

Required Parameters

  • webshopChannelCode
  • externalDocumentNo

Key Response Fields

  • statusCode, documentType, documentNo, externalDocumentNo, lineNo, itemNo, systemCreatedAt

Result

  • The webshop can track processing status per order and line.