POST api/order/update

Request Information

URI Parameters

None.

Body Parameters

OrderModel
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

CartID

globally unique identifier

None.

InvoiceID

globally unique identifier

None.

Name

string

None.

EmailAddress

string

None.

PhoneNumber

string

None.

ShippingFullName

string

None.

ShippingAddress

string

None.

ShippingAddress2

string

None.

ShippingAddress3

string

None.

ShippingCity

string

None.

ShippingCountry

string

None.

ShippingState

string

None.

ShippingZip

string

None.

BillingFullName

string

None.

BillingAddress

string

None.

BillingAddress2

string

None.

BillingAddress3

string

None.

BillingCity

string

None.

BillingCountry

string

None.

BillingState

string

None.

BillingZip

string

None.

Fulfilled

boolean

None.

FulfilledDateTime

date

None.

Finalized

boolean

None.

FinalizedDateTime

date

None.

Cart

CartModel

None.

ShippingDataValidations

Collection of string

None.

BillingDataValidations

Collection of string

None.

ShippingDataValid

boolean

None.

BillingDataValid

boolean

None.

DataValid

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "9db432fa-9a7f-4be7-846b-fe656d39c2a0",
  "CartID": "fdc7c8e5-d1c9-4d70-9379-88d9c7e3e219",
  "InvoiceID": "cda80f7b-fd60-4373-8b7c-44c1bb76437c",
  "Name": "sample string 1",
  "EmailAddress": "sample string 2",
  "PhoneNumber": "sample string 3",
  "ShippingFullName": "sample string 4",
  "ShippingAddress": "sample string 5",
  "ShippingAddress2": "sample string 6",
  "ShippingAddress3": "sample string 7",
  "ShippingCity": "sample string 8",
  "ShippingCountry": "sample string 9",
  "ShippingState": "sample string 10",
  "ShippingZip": "sample string 11",
  "BillingFullName": "sample string 12",
  "BillingAddress": "sample string 13",
  "BillingAddress2": "sample string 14",
  "BillingAddress3": "sample string 15",
  "BillingCity": "sample string 16",
  "BillingCountry": "sample string 17",
  "BillingState": "sample string 18",
  "BillingZip": "sample string 19",
  "Fulfilled": true,
  "FulfilledDateTime": "2019-12-09T13:36:33.3239073-05:00",
  "Finalized": true,
  "FinalizedDateTime": "2019-12-09T13:36:33.3239073-05:00",
  "Cart": {
    "ID": "a6b11d3b-4623-421a-8f73-d1fb10cb3793",
    "Session": {
      "ID": 1,
      "SessionID": "sample string 1",
      "IPAddress": "sample string 2",
      "UserID": "a7ea0588-97df-4413-b64a-47a8ca96321a",
      "CartID": "fab79e01-e5ea-4959-bd4f-ecb9802a36b4"
    },
    "IsAnon": false,
    "Items": [
      {
        "Product": {
          "ID": "68afe5ba-049b-4fb4-915b-77737be0aec4",
          "Parent": "fdca1301-bb8e-48a9-a920-f20153985849",
          "Category": "sample string 3",
          "ProductName": "sample string 4",
          "ProductDescription": "sample string 5",
          "ImageSource": "sample string 6",
          "ImageSourceLarge": "sample string 7",
          "ProductNumber": "sample string 8",
          "AmountBase": 9.0,
          "Amount": 10.0,
          "AmountDisplay": "$10"
        },
        "CartItemID": 1,
        "Quantity": 2,
        "Price": 10.0,
        "CartID": "28255ffd-1ba3-44e5-a093-e3a5229900bc"
      },
      {
        "Product": {
          "ID": "68afe5ba-049b-4fb4-915b-77737be0aec4",
          "Parent": "fdca1301-bb8e-48a9-a920-f20153985849",
          "Category": "sample string 3",
          "ProductName": "sample string 4",
          "ProductDescription": "sample string 5",
          "ImageSource": "sample string 6",
          "ImageSourceLarge": "sample string 7",
          "ProductNumber": "sample string 8",
          "AmountBase": 9.0,
          "Amount": 10.0,
          "AmountDisplay": "$10"
        },
        "CartItemID": 1,
        "Quantity": 2,
        "Price": 10.0,
        "CartID": "28255ffd-1ba3-44e5-a093-e3a5229900bc"
      }
    ],
    "Amount": 1.0,
    "User": {
      "ID": "8b0bbf5b-92af-44ac-805c-ec5a5380f4ed",
      "ContactID": "25f28c28-55e4-4b83-9ee6-27b540dd5084",
      "AccountID": "5c59af73-6ed7-470c-93cd-21cdb0f94677",
      "SaltKey1": 4,
      "SaltKey2": 5,
      "UserKey": "sample string 6",
      "PasswordChangeRequired": true,
      "PasswordExpirationDateTime": "2019-12-09T13:36:33.3239073-05:00",
      "PasswordExpired": true,
      "Active": true,
      "Password": "sample string 10",
      "Contact": {
        "ID": "4d736578-dc22-4db4-947e-4e2f8cfff3b6",
        "AccountID": "7dca4bce-7fd3-459a-9018-a96500536613",
        "AccountName": "sample string 3",
        "FirstName": "sample",
        "LastName": "6",
        "FullName": "sample 6",
        "EmailAddress": "sample string 7",
        "Salutation": "sample string 8",
        "Suffix": "sample string 9",
        "Nickname": "sample string 10",
        "JobTitle": "sample string 11",
        "Address1": "sample string 12",
        "Address2": "sample string 13",
        "Address3": "sample string 14",
        "City": "sample string 15",
        "State": "sample string 16",
        "ZipCode": "sample string 17",
        "Country": "sample string 18",
        "BusinessPhone": "sample string 19",
        "HomePhone": "sample string 20",
        "MobilePhone": "sample string 21",
        "Fax": "sample string 22",
        "IsInternational": true,
        "Preferences": {
          "PreferredContactMethod": 1,
          "DoNotEmail": true,
          "DoNotBulkEmail": true,
          "DoNotPhone": true,
          "DoNotFax": true,
          "DoNotPostalMail": true
        },
        "SocialMedia": {
          "Facebook": {
            "ID": "4c3b7cf7-845c-4731-be98-02f5e413aa98",
            "Name": "sample string 1",
            "Uri": "sample string 2",
            "Type": 171020000
          },
          "Twitter": {
            "ID": "4c3b7cf7-845c-4731-be98-02f5e413aa98",
            "Name": "sample string 1",
            "Uri": "sample string 2",
            "Type": 171020000
          },
          "GooglePlus": {
            "ID": "4c3b7cf7-845c-4731-be98-02f5e413aa98",
            "Name": "sample string 1",
            "Uri": "sample string 2",
            "Type": 171020000
          },
          "Instagram": {
            "ID": "4c3b7cf7-845c-4731-be98-02f5e413aa98",
            "Name": "sample string 1",
            "Uri": "sample string 2",
            "Type": 171020000
          },
          "LinkedIn": {
            "ID": "4c3b7cf7-845c-4731-be98-02f5e413aa98",
            "Name": "sample string 1",
            "Uri": "sample string 2",
            "Type": 171020000
          },
          "Pinterest": {
            "ID": "4c3b7cf7-845c-4731-be98-02f5e413aa98",
            "Name": "sample string 1",
            "Uri": "sample string 2",
            "Type": 171020000
          },
          "YouTube": {
            "ID": "4c3b7cf7-845c-4731-be98-02f5e413aa98",
            "Name": "sample string 1",
            "Uri": "sample string 2",
            "Type": 171020000
          }
        }
      }
    }
  },
  "ShippingDataValidations": null,
  "BillingDataValidations": null,
  "ShippingDataValid": true,
  "BillingDataValid": true,
  "DataValid": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.