Znode

Build Version:

GET orders?portalIds={portalIds}

No documentation available.

Request Information

» Parameters

Name Description Additional information
portalIds No documentation available.

Define this parameter in the request URI.

» Expands

Name Description Usage
account This will retrieve the related account. GET orders?portalIds={portalIds}?expand=account
orderLineItems This will retrieve the related list of order line items. GET orders?portalIds={portalIds}?expand=orderlineitems
paymentOption This will retrieve the related payment option. GET orders?portalIds={portalIds}?expand=paymentoption
paymentType This will retrieve the related payment type. GET orders?portalIds={portalIds}?expand=paymenttype
shippingOption This will retrieve the latest shipping option. GET orders?portalIds={portalIds}?expand=shippingoption

» Filters

Name Description Usage
accountId This will filter the request by account ID. GET orders?portalIds={portalIds}?filter=accountid~{operator}~{value}
companyName This will filter the request by company name. GET orders?portalIds={portalIds}?filter=companyname~{operator}~{value}
countryCode This will filter the request by country code. GET orders?portalIds={portalIds}?filter=countrycode~{operator}~{value}
email This will filter the request by email. GET orders?portalIds={portalIds}?filter=email~{operator}~{value}
externalId This will filter the request by external ID. GET orders?portalIds={portalIds}?filter=externalid~{operator}~{value}
lastName This will filter the request by last name. GET orders?portalIds={portalIds}?filter=lastname~{operator}~{value}
orderDate This will filter the request by order date. GET orders?portalIds={portalIds}?filter=orderdate~{operator}~{value}
orderStateId This will filter the request by order state ID. GET orders?portalIds={portalIds}?filter=orderstateid~{operator}~{value}
portalId This will filter the request by portal ID. GET orders?portalIds={portalIds}?filter=portalid~{operator}~{value}
postalCode This will filter the request by postal code. GET orders?portalIds={portalIds}?filter=postalcode~{operator}~{value}
purchaseOrderNumber This will filter the request by purchase order number. GET orders?portalIds={portalIds}?filter=purchaseordernumber~{operator}~{value}
stateCode This will filter the request by state code. GET orders?portalIds={portalIds}?filter=statecode~{operator}~{value}
total This will filter the request by total. GET orders?portalIds={portalIds}?filter=total~{operator}~{value}
trackingNumber This will filter the request by tracking number. GET orders?portalIds={portalIds}?filter=trackingnumber~{operator}~{value}
transactionId This will filter the request by transaction ID. GET orders?portalIds={portalIds}?filter=transactionid~{operator}~{value}

» Sorting

Name Description Usage
city This will sort the response by city. GET orders?portalIds={portalIds}?sort=city
companyName This will sort the response by company name. GET orders?portalIds={portalIds}?sort=companyname
countryCode This will sort the response by country code. GET orders?portalIds={portalIds}?sort=countrycode
lastName This will sort the response by last name. GET orders?portalIds={portalIds}?sort=lastname
orderDate This will sort the response by order date. GET orders?portalIds={portalIds}?sort=orderdate
orderId This will sort the response by order ID. GET orders?portalIds={portalIds}?sort=orderid
postalCode This will sort the response by portal code. GET orders?portalIds={portalIds}?sort=postalcode
stateCode This will sort the response by state code. GET orders?portalIds={portalIds}?sort=statecode
total This will sort the response by total. GET orders?portalIds={portalIds}?sort=total

» Paging

Name Description Usage
index The index to retrieve when requesting paged results. GET orders?portalIds={portalIds}?page=index~{value}
size The size of the page when retrieving paged results. GET orders?portalIds={portalIds}?page=size~{value}

Response Information

» Response Body Formats

If this endpoint supports expands, they will be included in the sample response body below. However, please note that expands are NOT included in the response body by default. Expands are only included in the response body if they came through as part of the request.

Sample:
	{
  "Orders": [
    {
      "Account": {
        "AccountId": 11521,
        "AccountProfileCode": null,
        "AccountType": null,
        "AccountTypeId": 0,
        "Addresses": [],
        "CompanyName": "Your Company",
        "CreateDate": "2013-04-29T10:49:32.657",
        "CreateUser": null,
        "ReferralCommissionType": null,
        "Custom1": null,
        "Custom2": null,
        "Custom3": null,
        "Description": "Site Administrator Account",
        "Email": "znodeadmin1@test.com",
        "EmailOptIn": true,
        "EnableCustomerPricing": false,
        "UserEnableCustomerPricing": false,
        "ExternalId": null,
        "ChildExternalAccountId": null,
        "UserExternalAccountId": null,
        "GiftCardHistoryList": null,
        "IsActive": true,
        "Orders": [],
        "ParentAccountId": null,
        "ProfileId": 1,
        "Profiles": [],
        "ReferralAccountId": null,
        "ReferralCommission": null,
        "ReferralCommissionTypeId": null,
        "ReferralStatus": null,
        "Source": null,
        "SubAccountLimit": null,
        "TaxId": null,
        "UpdateDate": "2013-09-21T11:59:19.74",
        "UpdateUser": null,
        "User": null,
        "AddressModel": null,
        "UserId": "8086a820-d3f6-4763-ae07-ce84ab85e2e7",
        "WebServiceDownloadDate": null,
        "Website": null,
        "WishList": [],
        "BaseUrl": null,
        "IsUserInRole": false,
        "UserName": null,
        "RoleName": null,
        "ErrorCode": null,
        "FullName": null,
        "PhoneNumber": null,
        "FirstName": null,
        "LastName": null,
        "LoginName": null,
        "ExternalAccountNum": null,
        "StartDate": "0001-01-01T00:00:00",
        "EndDate": "0001-01-01T00:00:00",
        "PortalId": null,
        "UserType": null,
        "IsEmailSentFailed": false,
        "IsSinglePageCheckoutUser": false,
        "TrackingLink": null,
        "CustomerPaymentGUID": null,
        "B2BRoleName": null,
        "CompanyId": 0,
        "MaxBudget": null,
        "DepartmentId": null,
        "RoleId": null,
        "EmailAddress": null,
        "ParentCompanyName": null,
        "UserRoleOperations": [],
        "IsB2BAccount": false,
        "ApprovalAccountId": null,
        "UserRoleId": null,
        "IsLockedOut": false,
        "CoreBridgeAuthenticationServiceResponse": null,
        "CesaControlAuthenticationResponse": null,
        "DefaultLocationID": null,
        "IsEmailVerified": false
      },
      "AccountId": 6,
      "AdditionalInstructions": "",
      "ApproverName": null,
      "BillingCity": "Fake City",
      "BillingCompanyName": "Your Company",
      "BillingCountryCode": "US",
      "BillingEmail": "znodeadmin1@test.com",
      "BillingEmailId": null,
      "BillingFirstName": "Site",
      "BillingLastName": "Admin",
      "BillingName": null,
      "BillingPhoneNumber": "1-888-Your-Store",
      "BillingPostalCode": "12345",
      "BillingStateCode": "SD",
      "BillingStreetAddress1": "123 Fake Street",
      "BillingStreet": null,
      "BillingStreet1": null,
      "BillingStreetAddress2": "",
      "CardAuthorizationCode": "",
      "CardExpiration": "",
      "CardTransactionId": "",
      "FirstName": null,
      "LastName": null,
      "OrderIds": null,
      "CardTypeId": null,
      "CompanyName": null,
      "CouponCode": null,
      "CreateDate": null,
      "CreatedBy": null,
      "Custom1": null,
      "Custom2": null,
      "Custom3": "XXXX",
      "DiscountAmount": 6.00,
      "ExternalId": null,
      "Gst": 0.00,
      "Hst": 0.00,
      "ModifiedBy": null,
      "ModifiedDate": null,
      "OrderDate": "2013-09-18T12:18:56.94",
      "OrderId": 2,
      "OrderLineItems": [
        {
          "AppliedPromotion": null,
          "AutoGeneratedTracking": false,
          "CouponsApplied": null,
          "CreateDate": "2013-09-18T12:18:56.89",
          "CreatedBy": "znodeadmin1",
          "Custom1": null,
          "Custom2": null,
          "Custom3": null,
          "CustomText": null,
          "Description": "Packaging - Gift Basket",
          "DiscountAmount": 3.00,
          "DownloadLink": null,
          "ExternalId": null,
          "Gst": 0.00,
          "HasCustomArtwork": false,
          "Hst": 0.00,
          "IsRecurringBilling": null,
          "ModifiedBy": null,
          "ModifiedDate": null,
          "Name": "Strawberry",
          "OrderId": 2,
          "OrderLineItemId": 2,
          "OrderLineItemRelationshipTypeId": null,
          "OrderLineItemStateId": null,
          "OrderShipment": null,
          "OrderShipmentId": 1,
          "ParentOrderLineItemId": null,
          "PaymentStatusId": null,
          "Price": 2.95,
          "ProductNumber": "st3245",
          "PromotionDescription": null,
          "Pst": 0.00,
          "Quantity": 2.0,
          "RecurringBillingAmount": null,
          "RecurringBillingCycles": null,
          "RecurringBillingFrequency": null,
          "RecurringBillingPeriod": null,
          "ReturnDate": null,
          "SalesTax": 0.00,
          "ShipDate": null,
          "ShippingCost": 4.00,
          "ShipSeparately": false,
          "Sku": "st3245",
          "TrackingNumber": null,
          "TransactionNumber": null,
          "Vat": 0.00,
          "Weight": null,
          "ProductNum": null,
          "ShipName": null,
          "ShippingAddress": null,
          "Order": null,
          "DigitalAsset": null,
          "ArtworkID": null,
          "ArtworkOrderID": null,
          "ArtworkOrderLineItemID": null,
          "StateID": null,
          "CanvasOrderID": null,
          "CanvasOrderLineItemID": null,
          "IsHresPdfDownloadable": null,
          "ProductHeight": null,
          "ProductWidth": null,
          "IsTaxable": null,
          "TaxabilityTypeId": null,
          "ATEItemTaxRequestKeyGuid": null,
          "SavedCartLineItemID": 0,
          "DesignerType": null,
          "OrderLineItemFiles": null
        }
      ],
      "OrderStateId": 50,
      "OrderStateName": null,
      "PaymentOption": {
        "DisplayOrder": 1,
        "EnableAmericanExpress": true,
        "EnableDiscover": true,
        "EnableMasterCard": true,
        "EnableRecurringPayments": null,
        "EnableVault": null,
        "EnableVisa": true,
        "IsActive": true,
        "IsRmaCompatible": null,
        "Partner": null,
        "PaymentGateway": null,
        "PaymentGatewayId": 1,
        "PaymentGatewayPassword": "",
        "PaymentGatewayUsername": "73BPkIVFnu65hHKjxRDZ0lTxmyNsV9hT",
        "PaymentOptionId": 24,
        "PaymentType": null,
        "PaymentTypeId": 2,
        "PreAuthorize": false,
        "ProfileId": null,
        "ProfileName": null,
        "TestMode": true,
        "TransactionKey": "FguRet0ahGXzM5kICiVYqxQWLHiW+1T+",
        "Vendor": null,
        "IsExists": null,
        "AdditionalFee": null
      },
      "PaymentOptionId": 24,
      "PaymentStatusId": 10,
      "PaymentType": {
        "Description": "Google Checkout",
        "IsActive": true,
        "Name": "Google Checkout",
        "PaymentTypeId": 3
      },
      "PaymentTypeId": 2,
      "PortalId": 1,
      "PromotionDescription": null,
      "Pst": 0.00,
      "PurchaseOrderNumber": "123",
      "ReceiptHtml": null,
      "IsOffsitePayment": false,
      "ReferralAccountId": null,
      "ReturnDate": null,
      "SalesTax": 0.00,
      "ShipDate": null,
      "ShippingCost": 4.00,
      "ShippingOption": {
        "CountryCode": "US",
        "Description": "Custom Flat Rate",
        "CustomErrorMessage": null,
        "DisplayOrder": 1,
        "ExternalId": null,
        "HandlingCharge": 2.50,
        "ActiveInd": true,
        "ProfileId": 7,
        "ShippingCode": "FLAT",
        "ShippingId": 9,
        "PortalId": 0,
        "ShippingType": null,
        "ShippingTypeId": 1,
        "ShippingRule": null,
        "ShippingServiceCodeId": 0,
        "ShippingServiceCode": null,
        "ShippingtypeName": null,
        "ProfileName": null,
        "ClassName": null,
        "UserType": null,
        "IsFreeShipping": false
      },
      "ShippingOptionId": null,
      "SubTotal": 15.90,
      "TaxCost": 0.00,
      "Total": 13.90,
      "TrackingNumber": null,
      "Vat": 0.00,
      "WebServiceDownloadDate": null,
      "OrderShipment": {
        "OrderShipmentId": 0,
        "ShipName": null,
        "ShippingOptionId": null,
        "ShipToCity": null,
        "ShipToCompanyName": null,
        "ShipToCountryCode": null,
        "ShipToEmail": null,
        "ShipToFirstName": null,
        "ShipToLastName": null,
        "ShipToPhoneNumber": null,
        "ShipToPostalCode": null,
        "ShipToStateCode": null,
        "ShipToStreetAddress1": null,
        "ShipToStreetAddress2": null,
        "AddressId": 0,
        "Quantity": 0.0,
        "TaxCost": 0.0,
        "ShippingCost": 0.0,
        "ShippingName": null
      },
      "ShippingID": null,
      "OrderStatus": null,
      "ShippingTypeName": null,
      "PaymentStatusName": null,
      "PaymentSettingId": null,
      "GiftAmount": 0.0,
      "PaymentMethod": null,
      "PromoCode": null,
      "OrderLineItemList": {
        "OrdersLineItems": [],
        "PageIndex": null,
        "PageSize": null,
        "TotalResults": null,
        "TotalPages": null
      },
      "StoreName": null,
      "OrderShipmentId": 0,
      "ShipName": null,
      "ShipToCity": null,
      "ShipToCompanyName": null,
      "ShipToCountryCode": null,
      "ShipToEmailId": null,
      "ShipToFirstName": null,
      "ShipToLastName": null,
      "ShipToPhoneNumber": null,
      "ShipToPostalCode": null,
      "ShipToStateCode": null,
      "ShipToStreet": null,
      "ShipToStreet1": null,
      "AddressId": 0,
      "Quantity": 0,
      "ShippingName": null,
      "RefundCardNumber": null,
      "ExpirationDate": null,
      "Month": 0,
      "Year": 0,
      "SecurityCode": null,
      "RefundAmount": 0.0,
      "ErrorMessage": null,
      "TrackingText": null,
      "rmaRequestList": {
        "RMARequests": [],
        "PageIndex": null,
        "PageSize": null,
        "TotalResults": null,
        "TotalPages": null
      },
      "PaymentTypeName": null,
      "ReceiptUrl": null,
      "ATEOrderTaxResponse": {
        "DocID": null,
        "Items": [],
        "PreTaxPrice": null,
        "TaxAmount": null,
        "PriceTotal": null,
        "PriceTaxable": null,
        "Assessments": [],
        "HighestTaxRate": null,
        "IsTaxable": false,
        "Breakdown": null,
        "ErrorCode": null,
        "ErrorMessage": null,
        "StackTrace": null,
        "AllowHtmlResponse": false,
        "HasError": false,
        "StringResponse": null
      },
      "IsShippingTaxable": null,
      "IsUsingTaxJarTax": null,
      "SecondaryExternalId": null,
      "OrderApprovalLog": {
        "ID": 0,
        "OrderID": 0,
        "ApproverID": 0,
        "ApproverIpAddress": null,
        "ApprovedDate": null,
        "RejectedDate": null,
        "ApproverMsgToRequester": null,
        "ApproverNote": null
      },
      "FullName": null
    }
  ],
  "PageIndex": null,
  "PageSize": null,
  "TotalPages": null,
  "TotalResults": null,
  "ErrorCode": null,
  "ErrorMessage": null,
  "StackTrace": null,
  "AllowHtmlResponse": false,
  "HasError": false,
  "StringResponse": null
}