Import Reservation

JSON-REST endpoint for importing reservation orders.

Purpose

This endpoint imports reservation orders from the webshop.

Endpoint

  • Method: POST
  • URL pattern: http://<server>:<odata-port>/<service-tier>/api/BEterna/Import/v2.0/companies(<company-system-id>)/webshopReservations?$expand=webshopReservationLines

Required Payload Fields

  • Header: webshopChannelCode, reservationOrderId, orderType, orderDate, currency
  • Lines (webshopReservationLines): at least one line with id, type, itemNumber, amount

Key Notes

  • Empty fields may be omitted in the payload.
  • Address and contact data can be included when required.

Result

  • The reservation order is available for further BC processing.