TAG LINE
TAG LINE
SMALL TITLE

Order

(API Version v8)


Represents the linking of an Order which has been created for an Account.


What can you do with Order?

  • DELETE Order/{id}
    Delete an instance of the Order object.

  • GET Order/
    Retrieve all of the Order objects.

  • GET Order/Paged
    Retrieve all of the Order objects in a paged fashion.

  • GET Order/Paged/Detail
    Retrieve all of the Order objects in a paged fashion with all object details.

  • GET Order/{id}
    Retrieve an instance of the Order object by its ID.

  • GET Order/{id}/Detail
    Retrieve deep detail of the Order object by its ID.

  • PATCH Order/{id}
    Update or Add the Order object and optionally make changes to any child objects.

  • POST Order/
    Create a new instance of the Order object.

  • POST Order/Process
    Process an existing draft Order or re-process an existing failed Order.

  • PUT Order/{id}
    Update an existing instance of the Order object.


Properties

Property Details
identity
READ-ONLY
"identity": 26
Type: Number
This is the unique numeric identifier for the Order
ownerId
READ-ONLY
"ownerId": 2
Type: Number
Unique identifier for the associated Owner object.
ownerName
READ-ONLY
"ownerName": "Sample Name"
Type: String
The name of the object associated with the ownerId property.
accountId
"accountId": 5
Type: Number
Unique identifier for the associated Account object.
accountName
"accountName": "Sample Name"
Type: String
The name of the object associated with the accountId property.
contactId
"contactId": 15
Type: Number
Unique identifier for the associated Contact object.
contactName
"contactName": "Sample Name"
Type: String
The name of the object associated with the contactId property.
invoiceId
"invoiceId": 27
Type: Number
Unique identifier for the associated Invoice object.
invoiceName
"invoiceName": "Sample Name"
Type: String
The name of the object associated with the invoiceId property.
orderStatusTypeId
"orderStatusTypeId": 5
Type: Number
Unique identifier for the associated OrderStatusType object.
orderStatusTypeName
"orderStatusTypeName": "Sample Name"
Type: String
The name of the object associated with the orderStatusTypeId property.
companyName
"companyName": "Acme Co."
Type: String
User defined company name assigned to the Order.
externalIdentifier
"externalIdentifier": "124567-23"
Type: String
User defined identifier to be linked to an external ordering system.
completed
"completed": "2021-04-26T15:25:27.587Z"
Type: Date
Date Time Stamp that represents when the Order was billed.

Date and time values are specified in the ISO 8601 format.
purchaseOrderNumber
"purchaseOrderNumber": "PO123454"
Type: String
User defined PO number to be associated with this Order.
totalAmountEstimate
"totalAmountEstimate": 456.67
Type: Number
Estimate pre-tax and prorated charges.
preAuthTransactionIdentifier
"preAuthTransactionIdentifier": "236958"
Type: String
User defined pre-authorization field for user defined information to be attached to an order.
created
READ-ONLY
"created": "2021-04-26T15:25:27.587Z"
Type: Date
This is a system generated date when the record was created. Date and time values are specified in the ISO 8601 format.
createdByUserId
"createdByUserId": 13
Type: Number
Unique identifier for the associated User object.
createdByUserName
"createdByUserName": "Sample Name"
Type: String
The name of the object associated with the createdByUserId property.
statusUpdated
"statusUpdated": "2021-04-26T15:25:27.587Z"
Type: Date
Date Time Stamp that represents the last time the orderStatusTypeId was updated.

Date and time values are specified in the ISO 8601 format.
priceBookId
"priceBookId": 16
Type: Number
Unique identifier for the associated PriceBook object.
priceBookName
"priceBookName": "Sample Name"
Type: String
The name of the object associated with the priceBookId property.
accountContractId
"accountContractId": 17
Type: Number
Unique identifier for the associated AccountContract object.
accountContractName
"accountContractName": "Sample Name"
Type: String
The name of the object associated with the accountContractId property.
discountPromoCodeId
"discountPromoCodeId": 3
Type: Number
Unique identifier for the associated DiscountPromoCode object.
discountPromoCodeName
"discountPromoCodeName": "Sample Name"
Type: String
The name of the object associated with the discountPromoCodeId property.


Patch Types

The PATCH verb allows you to update an object. Just like a put, you only need to supply the fields that will be updated in the payload. However, a patch allows you to update many objects at once.

PATCH operations can be used as a standard API call. Below you will find the child objects that can be updated as part of PATCH operations for the Order object.

Standard PATCH objects:

  • orderManualCharge - create, update, delete
  • orderPackage - create, update, delete

DataFlow PATCH objects:

  • order - create, update, delete
  • orderManualCharge - create, update, delete
  • orderPackage - create, update, delete

End Points

DELETEOrder/{id}
Delete an instance of the Order object. Upon successful delete, this API will return a record of all of the related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the Order object.
Delete an instance of the Order object.
DELETE Order/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "delete",
    "results": {
        "totalCount": 4,
        "items": [
            {
                "identity": 1,
                "action": "deleted",
                "dtoTypeKey": "order"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETOrder/
Retrieve all of the Order objects.
Retrieve all of the Order objects.
GET Order/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "ownerId": 17,
            "ownerName": "Sample Text Data",
            "accountId": 10,
            "accountName": "Sample Text Data",
            "contactId": 10,
            "contactName": "Sample Text Data",
            "invoiceId": 20,
            "invoiceName": "Sample Text Data",
            "orderStatusTypeId": 16,
            "orderStatusTypeName": "Sample Text Data",
            "companyName": "Acme Co.",
            "externalIdentifier": "124567-23",
            "completed": "2021-04-26T15:25:27.587Z",
            "purchaseOrderNumber": "PO123454",
            "totalAmountEstimate": 456.67,
            "preAuthTransactionIdentifier": "236958",
            "created": "2021-04-26T15:25:27.587Z",
            "createdByUserId": 18,
            "createdByUserName": "Sample Text Data",
            "statusUpdated": "2021-04-26T15:25:27.587Z",
            "priceBookId": 27,
            "priceBookName": "Sample Text Data",
            "accountContractId": 2,
            "accountContractName": "Sample Text Data",
            "discountPromoCodeId": 12,
            "discountPromoCodeName": "Sample Text Data"
        }
    ]
}
GETOrder/Paged
Retrieve all of the Order objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the Order objects in a paged fashion.
GET Order/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 3,
                "ownerName": "Sample Text Data",
                "accountId": 25,
                "accountName": "Sample Text Data",
                "contactId": 25,
                "contactName": "Sample Text Data",
                "invoiceId": 13,
                "invoiceName": "Sample Text Data",
                "orderStatusTypeId": 21,
                "orderStatusTypeName": "Sample Text Data",
                "companyName": "Acme Co.",
                "externalIdentifier": "124567-23",
                "completed": "2021-04-26T15:25:27.587Z",
                "purchaseOrderNumber": "PO123454",
                "totalAmountEstimate": 456.67,
                "preAuthTransactionIdentifier": "236958",
                "created": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 25,
                "createdByUserName": "Sample Text Data",
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 1,
                "priceBookName": "Sample Text Data",
                "accountContractId": 13,
                "accountContractName": "Sample Text Data",
                "discountPromoCodeId": 21,
                "discountPromoCodeName": "Sample Text Data"
            }
        ]
    }
}
GETOrder/Paged/Detail
Retrieve all of the Order objects in a paged fashion with all object details. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
Retrieve all of the Order objects in a paged fashion with all object details.
GET Order/Paged/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 25,
                "ownerName": "Sample Text Data",
                "accountId": 22,
                "accountName": "Sample Text Data",
                "contactId": 20,
                "contactName": "Sample Text Data",
                "invoiceId": 18,
                "invoiceName": "Sample Text Data",
                "orderStatusTypeId": 13,
                "orderStatusTypeName": "Sample Text Data",
                "companyName": "Acme Co.",
                "externalIdentifier": "124567-23",
                "completed": "2021-04-26T15:25:27.587Z",
                "purchaseOrderNumber": "PO123454",
                "totalAmountEstimate": 456.67,
                "preAuthTransactionIdentifier": "236958",
                "created": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 22,
                "createdByUserName": "Sample Text Data",
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 11,
                "priceBookName": "Sample Text Data",
                "accountContractId": 19,
                "accountContractName": "Sample Text Data",
                "discountPromoCodeId": 0,
                "discountPromoCodeName": "Sample Text Data",
                "details": {
                    "orderManualCharges": [
                        {
                            "identity": 99,
                            "orderId": 75,
                            "amount": 95,
                            "taxServiceId": 37,
                            "taxServiceName": "Sample Text Data",
                            "invoiceItemId": 11,
                            "quantity": 94,
                            "invoiceItemDetail": "Sample Text Data"
                        }
                    ],
                    "orderPackages": [
                        {
                            "identity": 56,
                            "orderId": 82,
                            "packageFrequencyId": 89,
                            "packageFrequencyName": "Sample Text Data",
                            "quantity": 46,
                            "effective": "2021-04-26T15:25:27.587Z",
                            "accountProductCodeId": 70,
                            "accountProductCodeName": "Sample Text Data",
                            "useBulkQuantity": true,
                            "applyDefaultDiscount": true,
                            "billDay": 36,
                            "usageBillDay": 41,
                            "taxAddressId": 24,
                            "taxAddressName": "Sample Text Data",
                            "packageName": "Sample Text Data",
                            "details": {
                                "orderServices": [
                                    {
                                        "identity": 49,
                                        "orderPackageId": 26,
                                        "serviceId": 7,
                                        "serviceName": "Sample Text Data",
                                        "packageServiceId": 94,
                                        "quantity": 70,
                                        "addOnPackageFrequencyId": 97,
                                        "addOnPackageFrequencyName": "Sample Text Data",
                                        "serviceStatusTypeId": 21,
                                        "addOnPackageName": "Sample Text Data",
                                        "serviceStatusTypeName": "Sample Text Data",
                                        "effective": "2021-04-26T15:25:27.587Z",
                                        "details": {
                                            "orderServiceAttributes": [
                                                {
                                                    "identity": 33,
                                                    "orderServiceId": 64,
                                                    "udrUsageIdentifier": "Sample Text Data"
                                                }
                                            ],
                                            "orderServicePrices": [
                                                {
                                                    "identity": 64,
                                                    "orderServiceId": 61,
                                                    "serviceStatusTypeId": 80,
                                                    "serviceStatusTypeName": "Sample Text Data",
                                                    "amount": 89.4,
                                                    "details": {
                                                        "orderServicePriceTiers": [
                                                            {
                                                                "identity": 49,
                                                                "orderServicePriceId": 83,
                                                                "threshold": 1,
                                                                "amount": 38.57
                                                            }
                                                        ]
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "orderPackageAttributes": [
                                    {
                                        "identity": 89,
                                        "orderPackageId": 87,
                                        "usageRatePlanId": 34,
                                        "usageRatePlanName": "Sample Text Data"
                                    }
                                ],
                                "taxAddress": {
                                    "identity": 93,
                                    "name": "Sample Text Data",
                                    "isShared": true,
                                    "accountId": 47,
                                    "accountName": "Sample Text Data",
                                    "addressId": 22,
                                    "created": "2021-04-26T15:25:27.587Z",
                                    "updated": "2021-04-26T15:25:27.587Z",
                                    "saveTaxAddressOnInvoicer": true,
                                    "address1": "Sample Text Data",
                                    "address2": "Sample Text Data",
                                    "stateId": 52,
                                    "stateName": "Sample Text Data",
                                    "stateCode": "Sample Text Data",
                                    "countryId": 63,
                                    "countryName": "Sample Text Data",
                                    "countryCode": "Sample Text Data",
                                    "zipCode": "Sample Text Data",
                                    "cityName": "Sample Text Data",
                                    "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z",
                                    "isIncorporated": true
                                }
                            }
                        }
                    ],
                    "orderContact": {
                        "identity": 50,
                        "contactTypeId": 87,
                        "contactTypeName": "Sample Text Data",
                        "title": "Sample Text Data",
                        "firstName": "Sample Text Data",
                        "lastName": "Sample Text Data",
                        "isUsedForTax": true,
                        "updated": "2021-04-26T15:25:27.587Z",
                        "name": "Sample Text Data",
                        "details": {
                            "contactPoints": [
                                {
                                    "identity": 41,
                                    "contactPointTypeId": 66,
                                    "contactPointTypeName": "Sample Text Data",
                                    "value": "Sample Text Data",
                                    "contactId": 1,
                                    "updated": "2021-04-26T15:25:27.587Z"
                                }
                            ],
                            "address": {
                                "identity": 57,
                                "address1": "Sample Text Data",
                                "address2": "Sample Text Data",
                                "stateId": 42,
                                "stateName": "Sample Text Data",
                                "countryId": 86,
                                "countryName": "Sample Text Data",
                                "zipCode": "Sample Text Data",
                                "latitude": 77.85,
                                "longitude": 2.32,
                                "cityName": "Sample Text Data",
                                "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z",
                                "isIncorporated": true,
                                "updated": "2021-04-26T15:25:27.587Z",
                                "stateCode": "Sample Text Data",
                                "countryCode": "Sample Text Data"
                            }
                        }
                    },
                    "orderTrackingHistory": [
                        {
                            "identity": 81,
                            "success": true,
                            "errorMessage": "Sample Text Data",
                            "started": "2021-04-26T15:25:27.587Z",
                            "completed": "2021-04-26T15:25:27.587Z",
                            "orderId": 18,
                            "createdByUserId": 73,
                            "createdByUserName": "Sample Text Data"
                        }
                    ]
                }
            }
        ]
    }
}
GETOrder/{id}
Retrieve an instance of the Order object by its ID.
{id}Unique identifier for the Order object.
Retrieve an instance of the Order object by its ID.
GET Order/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 10,
        "ownerName": "Sample Text Data",
        "accountId": 4,
        "accountName": "Sample Text Data",
        "contactId": 25,
        "contactName": "Sample Text Data",
        "invoiceId": 12,
        "invoiceName": "Sample Text Data",
        "orderStatusTypeId": 7,
        "orderStatusTypeName": "Sample Text Data",
        "companyName": "Acme Co.",
        "externalIdentifier": "124567-23",
        "completed": "2021-04-26T15:25:27.587Z",
        "purchaseOrderNumber": "PO123454",
        "totalAmountEstimate": 456.67,
        "preAuthTransactionIdentifier": "236958",
        "created": "2021-04-26T15:25:27.587Z",
        "createdByUserId": 21,
        "createdByUserName": "Sample Text Data",
        "statusUpdated": "2021-04-26T15:25:27.587Z",
        "priceBookId": 13,
        "priceBookName": "Sample Text Data",
        "accountContractId": 23,
        "accountContractName": "Sample Text Data",
        "discountPromoCodeId": 13,
        "discountPromoCodeName": "Sample Text Data"
    }
}
GETOrder/{id}/Detail
Retrieve deep detail of the Order object by its ID. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
{id}Unique identifier for the Order object.
Retrieve deep detail of the Order object by its ID.
GET Order/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 27,
        "ownerName": "Sample Text Data",
        "accountId": 25,
        "accountName": "Sample Text Data",
        "contactId": 27,
        "contactName": "Sample Text Data",
        "invoiceId": 7,
        "invoiceName": "Sample Text Data",
        "orderStatusTypeId": 18,
        "orderStatusTypeName": "Sample Text Data",
        "companyName": "Acme Co.",
        "externalIdentifier": "124567-23",
        "completed": "2021-04-26T15:25:27.587Z",
        "purchaseOrderNumber": "PO123454",
        "totalAmountEstimate": 456.67,
        "preAuthTransactionIdentifier": "236958",
        "created": "2021-04-26T15:25:27.587Z",
        "createdByUserId": 25,
        "createdByUserName": "Sample Text Data",
        "statusUpdated": "2021-04-26T15:25:27.587Z",
        "priceBookId": 11,
        "priceBookName": "Sample Text Data",
        "accountContractId": 2,
        "accountContractName": "Sample Text Data",
        "discountPromoCodeId": 14,
        "discountPromoCodeName": "Sample Text Data",
        "details": {
            "orderManualCharges": [
                {
                    "identity": 99,
                    "orderId": 75,
                    "amount": 95,
                    "taxServiceId": 37,
                    "taxServiceName": "Sample Text Data",
                    "invoiceItemId": 11,
                    "quantity": 94,
                    "invoiceItemDetail": "Sample Text Data"
                }
            ],
            "orderPackages": [
                {
                    "identity": 56,
                    "orderId": 82,
                    "packageFrequencyId": 89,
                    "packageFrequencyName": "Sample Text Data",
                    "quantity": 46,
                    "effective": "2021-04-26T15:25:27.587Z",
                    "accountProductCodeId": 70,
                    "accountProductCodeName": "Sample Text Data",
                    "useBulkQuantity": true,
                    "applyDefaultDiscount": true,
                    "billDay": 36,
                    "usageBillDay": 41,
                    "taxAddressId": 24,
                    "taxAddressName": "Sample Text Data",
                    "packageName": "Sample Text Data",
                    "details": {
                        "orderServices": [
                            {
                                "identity": 49,
                                "orderPackageId": 26,
                                "serviceId": 7,
                                "serviceName": "Sample Text Data",
                                "packageServiceId": 94,
                                "quantity": 70,
                                "addOnPackageFrequencyId": 97,
                                "addOnPackageFrequencyName": "Sample Text Data",
                                "serviceStatusTypeId": 21,
                                "addOnPackageName": "Sample Text Data",
                                "serviceStatusTypeName": "Sample Text Data",
                                "effective": "2021-04-26T15:25:27.587Z",
                                "details": {
                                    "orderServiceAttributes": [
                                        {
                                            "identity": 33,
                                            "orderServiceId": 64,
                                            "udrUsageIdentifier": "Sample Text Data"
                                        }
                                    ],
                                    "orderServicePrices": [
                                        {
                                            "identity": 64,
                                            "orderServiceId": 61,
                                            "serviceStatusTypeId": 80,
                                            "serviceStatusTypeName": "Sample Text Data",
                                            "amount": 89.4,
                                            "details": {
                                                "orderServicePriceTiers": [
                                                    {
                                                        "identity": 49,
                                                        "orderServicePriceId": 83,
                                                        "threshold": 1,
                                                        "amount": 38.57
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                }
                            }
                        ],
                        "orderPackageAttributes": [
                            {
                                "identity": 89,
                                "orderPackageId": 87,
                                "usageRatePlanId": 34,
                                "usageRatePlanName": "Sample Text Data"
                            }
                        ],
                        "taxAddress": {
                            "identity": 93,
                            "name": "Sample Text Data",
                            "isShared": true,
                            "accountId": 47,
                            "accountName": "Sample Text Data",
                            "addressId": 22,
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "saveTaxAddressOnInvoicer": true,
                            "address1": "Sample Text Data",
                            "address2": "Sample Text Data",
                            "stateId": 52,
                            "stateName": "Sample Text Data",
                            "stateCode": "Sample Text Data",
                            "countryId": 63,
                            "countryName": "Sample Text Data",
                            "countryCode": "Sample Text Data",
                            "zipCode": "Sample Text Data",
                            "cityName": "Sample Text Data",
                            "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z",
                            "isIncorporated": true
                        }
                    }
                }
            ],
            "orderContact": {
                "identity": 50,
                "contactTypeId": 87,
                "contactTypeName": "Sample Text Data",
                "title": "Sample Text Data",
                "firstName": "Sample Text Data",
                "lastName": "Sample Text Data",
                "isUsedForTax": true,
                "updated": "2021-04-26T15:25:27.587Z",
                "name": "Sample Text Data",
                "details": {
                    "contactPoints": [
                        {
                            "identity": 41,
                            "contactPointTypeId": 66,
                            "contactPointTypeName": "Sample Text Data",
                            "value": "Sample Text Data",
                            "contactId": 1,
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "address": {
                        "identity": 57,
                        "address1": "Sample Text Data",
                        "address2": "Sample Text Data",
                        "stateId": 42,
                        "stateName": "Sample Text Data",
                        "countryId": 86,
                        "countryName": "Sample Text Data",
                        "zipCode": "Sample Text Data",
                        "latitude": 77.85,
                        "longitude": 2.32,
                        "cityName": "Sample Text Data",
                        "taxJurisdictionCodeUpdated": "2021-04-26T15:25:27.587Z",
                        "isIncorporated": true,
                        "updated": "2021-04-26T15:25:27.587Z",
                        "stateCode": "Sample Text Data",
                        "countryCode": "Sample Text Data"
                    }
                }
            },
            "orderTrackingHistory": [
                {
                    "identity": 81,
                    "success": true,
                    "errorMessage": "Sample Text Data",
                    "started": "2021-04-26T15:25:27.587Z",
                    "completed": "2021-04-26T15:25:27.587Z",
                    "orderId": 18,
                    "createdByUserId": 73,
                    "createdByUserName": "Sample Text Data"
                }
            ]
        }
    }
}
PATCHOrder/{id}
Update or Add the Order object and optionally make changes to any child objects. Patch end points allow for adding/updating multiple related entities and the results of those changes will be reported in the response JSON payload in the items array.
{id}Unique identifier for the Order object.
Update or Add the Order object and optionally make changes to any child objects.
PATCH Order/{id}

{
    "details": {},
    "orders": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "accountId": 23,
                "contactId": 7,
                "invoiceId": 9,
                "orderStatusTypeId": 14,
                "companyName": "Acme Co.",
                "externalIdentifier": "124567-23",
                "completed": "2021-04-26T15:25:27.587Z",
                "purchaseOrderNumber": "PO123454",
                "totalAmountEstimate": 456.67,
                "preAuthTransactionIdentifier": "236958",
                "createdByUserId": 7,
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 21,
                "accountContractId": 13,
                "discountPromoCodeId": 26
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "order",
                "instance": {
                    "identity": 1,
                    "ownerId": 0,
                    "ownerName": "Sample Text Data",
                    "accountId": 11,
                    "accountName": "Sample Text Data",
                    "contactId": 26,
                    "contactName": "Sample Text Data",
                    "invoiceId": 4,
                    "invoiceName": "Sample Text Data",
                    "orderStatusTypeId": 15,
                    "orderStatusTypeName": "Sample Text Data",
                    "companyName": "Acme Co.",
                    "externalIdentifier": "124567-23",
                    "completed": "2021-04-26T15:25:27.587Z",
                    "purchaseOrderNumber": "PO123454",
                    "totalAmountEstimate": 456.67,
                    "preAuthTransactionIdentifier": "236958",
                    "created": "2021-04-26T15:25:27.587Z",
                    "createdByUserId": 16,
                    "createdByUserName": "Sample Text Data",
                    "statusUpdated": "2021-04-26T15:25:27.587Z",
                    "priceBookId": 24,
                    "priceBookName": "Sample Text Data",
                    "accountContractId": 13,
                    "accountContractName": "Sample Text Data",
                    "discountPromoCodeId": 9,
                    "discountPromoCodeName": "Sample Text Data"
                }
            }
        ]
    }
}
POSTOrder/
Create a new instance of the Order object.
Create a new instance of the Order object.
POST Order/

{
    "accountId": 25,
    "contactId": 4,
    "invoiceId": 8,
    "orderStatusTypeId": 23,
    "companyName": "Acme Co.",
    "externalIdentifier": "124567-23",
    "completed": "2021-04-26T15:25:27.587Z",
    "purchaseOrderNumber": "PO123454",
    "totalAmountEstimate": 456.67,
    "preAuthTransactionIdentifier": "236958",
    "createdByUserId": 1,
    "statusUpdated": "2021-04-26T15:25:27.587Z",
    "details": {
        "orderPackages": {
            "items": [
                {
                    "packageName": "DSL Package",
                    "packageFrequencyName": "DSL Package - 1 Month",
                    "quantity": 50
                }
            ]
        }
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 15,
                "ownerName": "Sample Text Data",
                "accountId": 10,
                "accountName": "Sample Text Data",
                "contactId": 21,
                "contactName": "Sample Text Data",
                "invoiceId": 23,
                "invoiceName": "Sample Text Data",
                "orderStatusTypeId": 26,
                "orderStatusTypeName": "Sample Text Data",
                "companyName": "Acme Co.",
                "externalIdentifier": "124567-23",
                "completed": "2021-04-26T15:25:27.587Z",
                "purchaseOrderNumber": "PO123454",
                "totalAmountEstimate": 456.67,
                "preAuthTransactionIdentifier": "236958",
                "created": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 24,
                "createdByUserName": "Sample Text Data",
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 23,
                "priceBookName": "Sample Text Data",
                "accountContractId": 3,
                "accountContractName": "Sample Text Data",
                "discountPromoCodeId": 11,
                "discountPromoCodeName": "Sample Text Data"
            }
        ]
    }
}
POSTOrder/Process
Process an existing draft Order or re-process an existing failed Order. Optionally, the order can be billed immediately via billNow: true. Billing now is required if there are manual charges that need to be included, otherwise they are not billed.
Process an existing draft Order or re-process an existing failed Order.
POST Order/Process

{
    "identity": 1234,
    "billNow": true
}
View Sample Response
HTTP/1.1 200 OK
PUTOrder/{id}
Update an existing instance of the Order object.
Update an existing instance of the Order object.
PUT Order/{id}

{
    "identity": 1,
    "accountId": 15,
    "contactId": 1,
    "invoiceId": 27,
    "orderStatusTypeId": 16,
    "companyName": "Acme Co.",
    "externalIdentifier": "124567-23",
    "completed": "2021-04-26T15:25:27.587Z",
    "purchaseOrderNumber": "PO123454",
    "totalAmountEstimate": 456.67,
    "preAuthTransactionIdentifier": "236958",
    "createdByUserId": 23,
    "statusUpdated": "2021-04-26T15:25:27.587Z",
    "priceBookId": 16,
    "accountContractId": 26,
    "discountPromoCodeId": 18
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 0,
                "ownerName": "Sample Text Data",
                "accountId": 27,
                "accountName": "Sample Text Data",
                "contactId": 27,
                "contactName": "Sample Text Data",
                "invoiceId": 12,
                "invoiceName": "Sample Text Data",
                "orderStatusTypeId": 6,
                "orderStatusTypeName": "Sample Text Data",
                "companyName": "Acme Co.",
                "externalIdentifier": "124567-23",
                "completed": "2021-04-26T15:25:27.587Z",
                "purchaseOrderNumber": "PO123454",
                "totalAmountEstimate": 456.67,
                "preAuthTransactionIdentifier": "236958",
                "created": "2021-04-26T15:25:27.587Z",
                "createdByUserId": 2,
                "createdByUserName": "Sample Text Data",
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 9,
                "priceBookName": "Sample Text Data",
                "accountContractId": 18,
                "accountContractName": "Sample Text Data",
                "discountPromoCodeId": 20,
                "discountPromoCodeName": "Sample Text Data"
            }
        ]
    }
}