POST api/Orders

Request Information

URI Parameters

None.

Body Parameters

Order
NameDescriptionTypeAdditional information
Order_Id

string

Required

Order_Key

string

None.

Order_QRCode

string

None.

Customer

Customer

Required

Order_Date

date

Required

Store_Id

integer

Required

Sub_Total

decimal number

Required

Discount

decimal number

Required

Tax

decimal number

Required

Grand_Total

decimal number

Required

Total_Paid

decimal number

Required

Payment_Method

string

None.

DeliveryDate

date

Required

DeliveryTime

date

Required

Comment

string

None.

OrderLines

Collection of Orderline

None.

DeliveryType

integer

None.

Order_Number

string

None.

Request Formats

application/json, text/json

Sample:
{
  "order_id": "sample string 1",
  "order_key": "sample string 2",
  "order_qrcode": "sample string 3",
  "customer": {
    "id": 1,
    "code": "sample string 2",
    "name": "sample string 3",
    "firstname": "sample string 4",
    "lastname": "sample string 5",
    "customerkey": "133b59dc-3e60-44f5-8db0-a778f33bd987",
    "customergroupid": 7,
    "creationdate": "2026-10-02T12:17:59+02:00",
    "modificationdate": "2026-10-02T12:17:59+02:00",
    "barcode": "sample string 10",
    "address": "sample string 11",
    "address_2": "sample string 12",
    "addressnr": "sample string 13",
    "addressbox": "sample string 14",
    "postalcode": "sample string 15",
    "community": "sample string 16",
    "gender": "sample string 17",
    "phones": [
      {
        "sequence": 1,
        "type": 1,
        "typetext": "sample string 2",
        "phonenumber": "sample string 3"
      },
      {
        "sequence": 1,
        "type": 1,
        "typetext": "sample string 2",
        "phonenumber": "sample string 3"
      }
    ],
    "weburl": "sample string 18",
    "email": "sample string 19",
    "webpass_plain": "sample string 20",
    "optin": true,
    "language": "sample string 21",
    "vatliable": true,
    "vatcountry": "sample string 23",
    "vatnumber": "sample string 24",
    "invoiceperiod": 25,
    "invoicecumultype": 26,
    "invoicepaymentcondition": 27,
    "discountpercentage": 28.1,
    "pricesexclusive": true,
    "ticketdigital": true,
    "invoicedeliveryaddresses": [
      {
        "id": 1,
        "key": "0de8fd30-61d0-4b4f-a13c-45f977d35844",
        "customerid": 3,
        "customerkey": "125a1a9b-84e0-4675-a116-d3ebe0500df0",
        "name": "sample string 5",
        "address": "sample string 6",
        "postalcode": "sample string 7",
        "community": "sample string 8",
        "phone": "sample string 9",
        "email": "sample string 10"
      },
      {
        "id": 1,
        "key": "0de8fd30-61d0-4b4f-a13c-45f977d35844",
        "customerid": 3,
        "customerkey": "125a1a9b-84e0-4675-a116-d3ebe0500df0",
        "name": "sample string 5",
        "address": "sample string 6",
        "postalcode": "sample string 7",
        "community": "sample string 8",
        "phone": "sample string 9",
        "email": "sample string 10"
      }
    ],
    "shopidpreferred": 1,
    "ispersonnel": true
  },
  "order_date": "2026-10-02T12:17:59.0362725+02:00",
  "store_id": 5,
  "sub_total": 6.0,
  "discount": 7.0,
  "tax": 8.0,
  "grand_total": 9.0,
  "total_paid": 10.0,
  "payment_method": "sample string 11",
  "deliverydate": "2026-10-02T12:17:59.0362725+02:00",
  "deliverytime": "2026-10-02T12:17:59.0362725+02:00",
  "comment": "sample string 14",
  "orderlines": [
    {
      "line_id": 1,
      "order_id": "sample string 2",
      "order_key": "sample string 3",
      "product_id": 4,
      "product_name": "sample string 5",
      "product_name_fr": "sample string 6",
      "product_name_nl": "sample string 7",
      "original_price": 8.0,
      "price": 9.0,
      "unit": "sample string 10",
      "quantity": 11.0,
      "subtotal": 12.0,
      "tax_amount": 13.0,
      "tax_percent": 14.0,
      "discount_amount": 15.0,
      "row_total": 16.0,
      "comment": "sample string 17",
      "attributes": [
        {
          "attribute_nl": "sample string 1",
          "attribute_fr": "sample string 2",
          "option_nl": "sample string 3",
          "option_fr": "sample string 4"
        },
        {
          "attribute_nl": "sample string 1",
          "attribute_fr": "sample string 2",
          "option_nl": "sample string 3",
          "option_fr": "sample string 4"
        }
      ]
    },
    {
      "line_id": 1,
      "order_id": "sample string 2",
      "order_key": "sample string 3",
      "product_id": 4,
      "product_name": "sample string 5",
      "product_name_fr": "sample string 6",
      "product_name_nl": "sample string 7",
      "original_price": 8.0,
      "price": 9.0,
      "unit": "sample string 10",
      "quantity": 11.0,
      "subtotal": 12.0,
      "tax_amount": 13.0,
      "tax_percent": 14.0,
      "discount_amount": 15.0,
      "row_total": 16.0,
      "comment": "sample string 17",
      "attributes": [
        {
          "attribute_nl": "sample string 1",
          "attribute_fr": "sample string 2",
          "option_nl": "sample string 3",
          "option_fr": "sample string 4"
        },
        {
          "attribute_nl": "sample string 1",
          "attribute_fr": "sample string 2",
          "option_nl": "sample string 3",
          "option_fr": "sample string 4"
        }
      ]
    }
  ],
  "deliverytype": 15,
  "order_number": "sample string 16"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.