---
title: Model: OrderFormModel
slug: commerce-connect-15/service-api/model-orderformmodel
docTags: 
createdAt: 2026-10-09T17:33:31.916Z
---

### Code examples

```json
{
  "shipments": [
    {
      "discountsModel": [
        {
          "discountId": "",
          "discountAmount": "",
          "discountCode": "",
          "discountName": "",
          "displayMessage": "",
          "discountValue": ""
        }
      ],
      "shipmentId": "",
      "shippingMethodId": "",
      "shippingMethodName": "",
      "shippingTax": "",
      "shippingAddressId": "",
      "shipmentTrackingNumber": "",
      "shippingDiscountAmount": "",
      "shippingSubTotal": "",
      "shippingTotal": "",
      "status": "",
      "prevStatus": "",
      "pickListId": "",
      "subTotal": "",
      "warehouseCode": "",
      "lineItems": [
        {
          "lineItemId": "",
          "code": "",
          "displayName": "",
          "placedPrice": "",
          "extendedPrice": "",
          "discountedPrice": "",
          "quantity": "",
          "returnQuantity": "",
          "inventoryTrackingStatus": 0,
          "isInventoryAllocated": false,
          "isGift": false,
          "properties": [
            {
              "key": "",
              "value": ""
            }
          ]
        }
      ],
      "properties": [
        {
          "key": "",
          "value": ""
        }
      ]
    }
  ],
  "lineItems": [
    {
      "lineItemId": "",
      "code": "",
      "displayName": "",
      "placedPrice": "",
      "extendedPrice": "",
      "discountedPrice": "",
      "quantity": "",
      "returnQuantity": "",
      "inventoryTrackingStatus": 0,
      "isInventoryAllocated": false,
      "isGift": false,
      "properties": [
        {
          "key": "",
          "value": ""
        }
      ]
    }
  ],
  "payments": [
    {
      "amount": "",
      "authorizationCode": "",
      "billingAddressId": "",
      "customerName": "",
      "implementationClass": "",
      "paymentId": "",
      "paymentMethodId": "",
      "paymentMethodName": "",
      "paymentTypeModel": 0,
      "status": "",
      "transactionType": "",
      "validationCode": "",
      "transactionID": "",
      "providerTransactionID": "",
      "properties": [
        {
          "key": "",
          "value": ""
        }
      ]
    }
  ],
  "discounts": [
    {
      "discountId": "",
      "discountAmount": "",
      "discountCode": "",
      "discountName": "",
      "displayMessage": "",
      "discountValue": ""
    }
  ],
  "returnComment": "",
  "returnType": "",
  "returnAuthCode": "",
  "orderFormId": "",
  "name": "",
  "billingAddressId": "",
  "shippingTotal": "",
  "handlingTotal": "",
  "taxTotal": "",
  "discountAmount": "",
  "subTotal": "",
  "total": "",
  "status": "",
  "rmaNumber": "",
  "authorizedPaymentTotal": "",
  "capturedPaymentTotal": "",
  "properties": [
    {
      "key": "",
      "value": ""
    }
  ]
}
```
