---
title: Model: EPiServer.ServiceApi.Commerce.Models.Order.PurchaseOrderModel
slug: commerce-connect-15/service-api/model-episerverserviceapicommercemodelsorderpurchaseordermodel
docTags: 
createdAt: 2026-10-09T17:33:30.457Z
---

### Code examples

```json
{
  "OrderNumber": "",
  "AddressId": "",
  "AffiliateId": "",
  "BillingCurrency": "",
  "CustomerId": "",
  "CustomerName": "",
  "HandlingTotal": "",
  "InstanceId": "",
  "MarketId": "",
  "Name": "",
  "OrderAddresses": [
    {
      "OrderGroupAddressId": "",
      "Name": "",
      "FirstName": "",
      "LastName": "",
      "Organization": "",
      "Line1": "",
      "Line2": "",
      "City": "",
      "State": "",
      "CountryCode": "",
      "CountryName": "",
      "PostalCode": "",
      "RegionCode": "",
      "RegionName": "",
      "DaytimePhoneNumber": "",
      "EveningPhoneNumber": "",
      "FaxNumber": "",
      "Email": "",
      "Properties": [
        {
          "Key": "",
          "Value": ""
        }
      ]
    }
  ],
  "OrderForms": [
    {
      "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": "",
              "IsInventoryAllocated": false,
              "IsGift": false,
              "Properties": [
                {
                  "Key": "",
                  "Value": ""
                }
              ]
            }
          ],
          "Properties": [
            {
              "Key": "",
              "Value": ""
            }
          ]
        }
      ],
      "LineItems": [
        {
          "LineItemId": "",
          "Code": "",
          "DisplayName": "",
          "PlacedPrice": "",
          "ExtendedPrice": "",
          "DiscountedPrice": "",
          "Quantity": "",
          "ReturnQuantity": "",
          "InventoryTrackingStatus": "",
          "IsInventoryAllocated": false,
          "IsGift": false,
          "Properties": [
            {
              "Key": "",
              "Value": ""
            }
          ]
        }
      ],
      "Payments": [
        {
          "Amount": "",
          "AuthorizationCode": "",
          "BillingAddressId": "",
          "CustomerName": "",
          "ImplementationClass": "",
          "PaymentId": "",
          "PaymentMethodId": "",
          "PaymentMethodName": "",
          "PaymentTypeModel": "",
          "Status": "",
          "TransactionType": "",
          "ValidationCode": "",
          "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": ""
        }
      ]
    }
  ],
  "OrderGroupId": "",
  "OrderNotes": [
    {
      "OrderNoteId": "",
      "Created": "",
      "CustomerId": "",
      "Detail": "",
      "Title": "",
      "Type": "",
      "LineItemId": ""
    }
  ],
  "Owner": "",
  "OwnerOrg": "",
  "ProviderId": "",
  "ShippingTotal": "",
  "Status": "",
  "SubTotal": "",
  "TaxTotal": "",
  "Total": "",
  "Modified": "",
  "Created": "",
  "Properties": [
    {
      "Key": "",
      "Value": ""
    }
  ]
}
```
