Import Contact

JSON-REST endpoint for importing webshop contacts.

Purpose

This endpoint imports contact data from the webshop into the Business Central contact import container.

Endpoint

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

Required Parameters

  • webshopChannel in the payload
  • JSON body with contact header data

Payload Core Areas

  • Contact header: channel, contact number, name, address, language, country, communication data
  • Optional additional fields such as salutation, first/last name, and company name
  • Contact lines (webshopcontactLines) for ship-to specific information

Response Behavior

  • The API returns the imported record as JSON.
  • With $expand=webshopcontactLines, the response can include contact line data.

Result

  • The webshop contact is available for downstream processing in BC.