TAG LINE
TAG LINE
SMALL TITLE

Order

(API Version v10)


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


What can you do with Order?


Properties

Property Details
identity
READ-ONLY
"identity": 26
Type: Number
This is the unique numeric identifier for the Order
ownerId
READ-ONLY
"ownerId": 10
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": 9
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": 16
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": 18
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": 14
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": 12
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": 4
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": 23
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": 6
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": 25,
            "ownerName": "Sample Text Data",
            "accountId": 22,
            "accountName": "Sample Text Data",
            "contactId": 13,
            "contactName": "Sample Text Data",
            "invoiceId": 19,
            "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": 11,
            "createdByUserName": "Sample Text Data",
            "statusUpdated": "2021-04-26T15:25:27.587Z",
            "priceBookId": 24,
            "priceBookName": "Sample Text Data",
            "accountContractId": 20,
            "accountContractName": "Sample Text Data",
            "discountPromoCodeId": 24,
            "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": 21,
                "ownerName": "Sample Text Data",
                "accountId": 7,
                "accountName": "Sample Text Data",
                "contactId": 14,
                "contactName": "Sample Text Data",
                "invoiceId": 21,
                "invoiceName": "Sample Text Data",
                "orderStatusTypeId": 5,
                "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": 0,
                "createdByUserName": "Sample Text Data",
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 0,
                "priceBookName": "Sample Text Data",
                "accountContractId": 19,
                "accountContractName": "Sample Text Data",
                "discountPromoCodeId": 3,
                "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": 2,
                "ownerName": "Sample Text Data",
                "accountId": 12,
                "accountName": "Sample Text Data",
                "contactId": 0,
                "contactName": "Sample Text Data",
                "invoiceId": 25,
                "invoiceName": "Sample Text Data",
                "orderStatusTypeId": 0,
                "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": 27,
                "createdByUserName": "Sample Text Data",
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 27,
                "priceBookName": "Sample Text Data",
                "accountContractId": 26,
                "accountContractName": "Sample Text Data",
                "discountPromoCodeId": 25,
                "discountPromoCodeName": "Sample Text Data",
                "details": {
                    "orderManualCharges": [
                        {
                            "identity": 91,
                            "orderId": 38,
                            "amount": 69.72,
                            "taxServiceId": 23,
                            "taxServiceName": "Sample Text Data",
                            "invoiceItemId": 13,
                            "quantity": 98,
                            "invoiceItemDetail": "Sample Text Data"
                        }
                    ],
                    "orderPackages": [
                        {
                            "identity": 22,
                            "orderId": 52,
                            "packageFrequencyId": 12,
                            "packageFrequencyName": "Sample Text Data",
                            "quantity": 85,
                            "effective": "2021-04-26T15:25:27.587Z",
                            "accountProductCodeId": 95,
                            "accountProductCodeName": "Sample Text Data",
                            "useBulkQuantity": true,
                            "applyDefaultDiscount": true,
                            "billDay": 72,
                            "usageBillDay": 91,
                            "taxAddressId": 62,
                            "taxAddressName": "Sample Text Data",
                            "packageName": "Sample Text Data",
                            "details": {
                                "orderServices": [
                                    {
                                        "identity": 66,
                                        "orderPackageId": 14,
                                        "serviceId": 8,
                                        "serviceName": "Sample Text Data",
                                        "packageServiceId": 44,
                                        "quantity": 48,
                                        "addOnPackageFrequencyId": 48,
                                        "addOnPackageFrequencyName": "Sample Text Data",
                                        "serviceStatusTypeId": 13,
                                        "addOnPackageName": "Sample Text Data",
                                        "serviceStatusTypeName": "Sample Text Data",
                                        "effective": "2021-04-26T15:25:27.587Z",
                                        "details": {
                                            "orderServiceAttributes": [
                                                {
                                                    "identity": 30,
                                                    "orderServiceId": 3,
                                                    "udrUsageIdentifier": "Sample Text Data"
                                                }
                                            ],
                                            "orderServicePrices": [
                                                {
                                                    "identity": 54,
                                                    "orderServiceId": 52,
                                                    "serviceStatusTypeId": 27,
                                                    "serviceStatusTypeName": "Sample Text Data",
                                                    "amount": 26.6,
                                                    "details": {
                                                        "orderServicePriceTiers": [
                                                            {
                                                                "identity": 33,
                                                                "orderServicePriceId": 23,
                                                                "threshold": 8,
                                                                "amount": 41.25
                                                            }
                                                        ]
                                                    }
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "orderPackageAttributes": [
                                    {
                                        "identity": 48,
                                        "orderPackageId": 34,
                                        "usageRatePlanId": 39,
                                        "usageRatePlanName": "Sample Text Data"
                                    }
                                ],
                                "taxAddress": {
                                    "identity": 54,
                                    "name": "Sample Text Data",
                                    "isShared": true,
                                    "accountId": 76,
                                    "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": 46,
                                    "stateName": "Sample Text Data",
                                    "stateCode": "Sample Text Data",
                                    "countryId": 92,
                                    "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,
                                    "fetchTaxJurisdicationAsync": true
                                }
                            }
                        }
                    ],
                    "orderContact": {
                        "identity": 60,
                        "contactTypeId": 12,
                        "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": 67,
                                    "contactPointTypeId": 49,
                                    "contactPointTypeName": "Sample Text Data",
                                    "value": "Sample Text Data",
                                    "contactId": 98,
                                    "updated": "2021-04-26T15:25:27.587Z"
                                }
                            ],
                            "address": {
                                "identity": 54,
                                "address1": "Sample Text Data",
                                "address2": "Sample Text Data",
                                "stateId": 43,
                                "stateName": "Sample Text Data",
                                "countryId": 51,
                                "countryName": "Sample Text Data",
                                "zipCode": "Sample Text Data",
                                "latitude": 43.1,
                                "longitude": 36.86,
                                "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",
                                "fetchTaxJurisdicationAsync": true
                            }
                        }
                    },
                    "orderTrackingHistory": [
                        {
                            "identity": 9,
                            "success": true,
                            "errorMessage": "Sample Text Data",
                            "started": "2021-04-26T15:25:27.587Z",
                            "completed": "2021-04-26T15:25:27.587Z",
                            "orderId": 64,
                            "createdByUserId": 75,
                            "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": 3,
        "ownerName": "Sample Text Data",
        "accountId": 10,
        "accountName": "Sample Text Data",
        "contactId": 11,
        "contactName": "Sample Text Data",
        "invoiceId": 9,
        "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": 27,
        "priceBookName": "Sample Text Data",
        "accountContractId": 6,
        "accountContractName": "Sample Text Data",
        "discountPromoCodeId": 24,
        "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": 3,
        "ownerName": "Sample Text Data",
        "accountId": 15,
        "accountName": "Sample Text Data",
        "contactId": 11,
        "contactName": "Sample Text Data",
        "invoiceId": 27,
        "invoiceName": "Sample Text Data",
        "orderStatusTypeId": 9,
        "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": 4,
        "createdByUserName": "Sample Text Data",
        "statusUpdated": "2021-04-26T15:25:27.587Z",
        "priceBookId": 7,
        "priceBookName": "Sample Text Data",
        "accountContractId": 18,
        "accountContractName": "Sample Text Data",
        "discountPromoCodeId": 19,
        "discountPromoCodeName": "Sample Text Data",
        "details": {
            "orderManualCharges": [
                {
                    "identity": 91,
                    "orderId": 38,
                    "amount": 69.72,
                    "taxServiceId": 23,
                    "taxServiceName": "Sample Text Data",
                    "invoiceItemId": 13,
                    "quantity": 98,
                    "invoiceItemDetail": "Sample Text Data"
                }
            ],
            "orderPackages": [
                {
                    "identity": 22,
                    "orderId": 52,
                    "packageFrequencyId": 12,
                    "packageFrequencyName": "Sample Text Data",
                    "quantity": 85,
                    "effective": "2021-04-26T15:25:27.587Z",
                    "accountProductCodeId": 95,
                    "accountProductCodeName": "Sample Text Data",
                    "useBulkQuantity": true,
                    "applyDefaultDiscount": true,
                    "billDay": 72,
                    "usageBillDay": 91,
                    "taxAddressId": 62,
                    "taxAddressName": "Sample Text Data",
                    "packageName": "Sample Text Data",
                    "details": {
                        "orderServices": [
                            {
                                "identity": 66,
                                "orderPackageId": 14,
                                "serviceId": 8,
                                "serviceName": "Sample Text Data",
                                "packageServiceId": 44,
                                "quantity": 48,
                                "addOnPackageFrequencyId": 48,
                                "addOnPackageFrequencyName": "Sample Text Data",
                                "serviceStatusTypeId": 13,
                                "addOnPackageName": "Sample Text Data",
                                "serviceStatusTypeName": "Sample Text Data",
                                "effective": "2021-04-26T15:25:27.587Z",
                                "details": {
                                    "orderServiceAttributes": [
                                        {
                                            "identity": 30,
                                            "orderServiceId": 3,
                                            "udrUsageIdentifier": "Sample Text Data"
                                        }
                                    ],
                                    "orderServicePrices": [
                                        {
                                            "identity": 54,
                                            "orderServiceId": 52,
                                            "serviceStatusTypeId": 27,
                                            "serviceStatusTypeName": "Sample Text Data",
                                            "amount": 26.6,
                                            "details": {
                                                "orderServicePriceTiers": [
                                                    {
                                                        "identity": 33,
                                                        "orderServicePriceId": 23,
                                                        "threshold": 8,
                                                        "amount": 41.25
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                }
                            }
                        ],
                        "orderPackageAttributes": [
                            {
                                "identity": 48,
                                "orderPackageId": 34,
                                "usageRatePlanId": 39,
                                "usageRatePlanName": "Sample Text Data"
                            }
                        ],
                        "taxAddress": {
                            "identity": 54,
                            "name": "Sample Text Data",
                            "isShared": true,
                            "accountId": 76,
                            "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": 46,
                            "stateName": "Sample Text Data",
                            "stateCode": "Sample Text Data",
                            "countryId": 92,
                            "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,
                            "fetchTaxJurisdicationAsync": true
                        }
                    }
                }
            ],
            "orderContact": {
                "identity": 60,
                "contactTypeId": 12,
                "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": 67,
                            "contactPointTypeId": 49,
                            "contactPointTypeName": "Sample Text Data",
                            "value": "Sample Text Data",
                            "contactId": 98,
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "address": {
                        "identity": 54,
                        "address1": "Sample Text Data",
                        "address2": "Sample Text Data",
                        "stateId": 43,
                        "stateName": "Sample Text Data",
                        "countryId": 51,
                        "countryName": "Sample Text Data",
                        "zipCode": "Sample Text Data",
                        "latitude": 43.1,
                        "longitude": 36.86,
                        "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",
                        "fetchTaxJurisdicationAsync": true
                    }
                }
            },
            "orderTrackingHistory": [
                {
                    "identity": 9,
                    "success": true,
                    "errorMessage": "Sample Text Data",
                    "started": "2021-04-26T15:25:27.587Z",
                    "completed": "2021-04-26T15:25:27.587Z",
                    "orderId": 64,
                    "createdByUserId": 75,
                    "createdByUserName": "Sample Text Data"
                }
            ]
        }
    }
}
GETOrder/{orderId}/PackageTracking
Retrieve all of the Order objects.
Retrieve all of the Order objects.
GET Order/{orderId}/PackageTracking
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "ownerId": 20,
            "ownerName": "Sample Text Data",
            "accountId": 7,
            "accountName": "Sample Text Data",
            "contactId": 11,
            "contactName": "Sample Text Data",
            "invoiceId": 9,
            "invoiceName": "Sample Text Data",
            "orderStatusTypeId": 4,
            "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": 15,
            "priceBookName": "Sample Text Data",
            "accountContractId": 17,
            "accountContractName": "Sample Text Data",
            "discountPromoCodeId": 1,
            "discountPromoCodeName": "Sample Text Data"
        }
    ]
}
GETOrder/{orderId}/PackageTracking/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/{orderId}/PackageTracking/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": 20,
                "ownerName": "Sample Text Data",
                "accountId": 19,
                "accountName": "Sample Text Data",
                "contactId": 20,
                "contactName": "Sample Text Data",
                "invoiceId": 21,
                "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": 26,
                "createdByUserName": "Sample Text Data",
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 7,
                "priceBookName": "Sample Text Data",
                "accountContractId": 0,
                "accountContractName": "Sample Text Data",
                "discountPromoCodeId": 9,
                "discountPromoCodeName": "Sample Text Data"
            }
        ]
    }
}
GETOrder/{orderId}/Status
Retrieve all of the Order objects.
Retrieve all of the Order objects.
GET Order/{orderId}/Status
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "ownerId": 9,
            "ownerName": "Sample Text Data",
            "accountId": 18,
            "accountName": "Sample Text Data",
            "contactId": 14,
            "contactName": "Sample Text Data",
            "invoiceId": 27,
            "invoiceName": "Sample Text Data",
            "orderStatusTypeId": 12,
            "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": 7,
            "createdByUserName": "Sample Text Data",
            "statusUpdated": "2021-04-26T15:25:27.587Z",
            "priceBookId": 23,
            "priceBookName": "Sample Text Data",
            "accountContractId": 15,
            "accountContractName": "Sample Text Data",
            "discountPromoCodeId": 23,
            "discountPromoCodeName": "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": 7,
                "contactId": 27,
                "invoiceId": 4,
                "orderStatusTypeId": 0,
                "companyName": "Acme Co.",
                "externalIdentifier": "124567-23",
                "completed": "2021-04-26T15:25:27.587Z",
                "purchaseOrderNumber": "PO123454",
                "totalAmountEstimate": 456.67,
                "preAuthTransactionIdentifier": "236958",
                "createdByUserId": 17,
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 9,
                "accountContractId": 8,
                "discountPromoCodeId": 10
            }
        ]
    }
}
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": 8,
                    "ownerName": "Sample Text Data",
                    "accountId": 21,
                    "accountName": "Sample Text Data",
                    "contactId": 4,
                    "contactName": "Sample Text Data",
                    "invoiceId": 21,
                    "invoiceName": "Sample Text Data",
                    "orderStatusTypeId": 10,
                    "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": 8,
                    "priceBookName": "Sample Text Data",
                    "accountContractId": 1,
                    "accountContractName": "Sample Text Data",
                    "discountPromoCodeId": 10,
                    "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": 18,
                "ownerName": "Sample Text Data",
                "accountId": 18,
                "accountName": "Sample Text Data",
                "contactId": 20,
                "contactName": "Sample Text Data",
                "invoiceId": 19,
                "invoiceName": "Sample Text Data",
                "orderStatusTypeId": 2,
                "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": 1,
                "createdByUserName": "Sample Text Data",
                "statusUpdated": "2021-04-26T15:25:27.587Z",
                "priceBookId": 13,
                "priceBookName": "Sample Text Data",
                "accountContractId": 8,
                "accountContractName": "Sample Text Data",
                "discountPromoCodeId": 18,
                "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": 0,
    "contactId": 20,
    "invoiceId": 1,
    "orderStatusTypeId": 10,
    "companyName": "Acme Co.",
    "externalIdentifier": "124567-23",
    "completed": "2021-04-26T15:25:27.587Z",
    "purchaseOrderNumber": "PO123454",
    "totalAmountEstimate": 456.67,
    "preAuthTransactionIdentifier": "236958",
    "createdByUserId": 17,
    "statusUpdated": "2021-04-26T15:25:27.587Z",
    "priceBookId": 17,
    "accountContractId": 5,
    "discountPromoCodeId": 25
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 2,
                "ownerName": "Sample Text Data",
                "accountId": 4,
                "accountName": "Sample Text Data",
                "contactId": 24,
                "contactName": "Sample Text Data",
                "invoiceId": 22,
                "invoiceName": "Sample Text Data",
                "orderStatusTypeId": 14,
                "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": 17,
                "priceBookName": "Sample Text Data",
                "accountContractId": 25,
                "accountContractName": "Sample Text Data",
                "discountPromoCodeId": 15,
                "discountPromoCodeName": "Sample Text Data"
            }
        ]
    }
}