Scheduled Order Fields Reference

Below is a reference guide of every field that a Scheduled Order may contain. You will find this information to be vital when working with a Scheduled Order Object, either when interfacing with the QPilot API, consuming data over a Webhook, or getting data over a Zapier Zap.

Base Fields Specification

Field NameDescriptionData Type
IdThe unique identifier of the Scheduled Order.number
NextOccurrenceUtcA UTC Datetime that specifies when will the Scheduled Order process nextdatetime
LastOccurrenceUtcA UTC DateTime for when the Scheduled Order last processeddatetime
StatusThe current Status of the Scheduled Orderenumerate:
Processing,
Failed,
Active,
Paused,
Queued
ScheduledOrderFailureReasonThe Failure Reason detail for a Scheduled Order that is in the Failed Statusstring
ProcessingErrorCodeThe Failure Reason Code for a Scheduled Order that is in the Failed Statusenumerate:
1000: Empty Scheduled Order
1001: No Items To Ship
1002: No Shipping Rate Found
1003: Payment Integration Not Found
1004: No Payment Method Found
2000: Payment Failed
3000: Client Order Creation Failure
3002: Invalid Client Order Creation Response
OriginThe user type and context in which the Scheduled Order was createdenumerate:
Merchant
Customer
CustomerCheckout
FrequencyTypeThe Frequency Type of the Scheduled Orderenumerate:
Days,
Weeks,
Months,
DayOfTheWeek,
DayOfTheMonth
FrequencyThe Frequency Value of the Scheduled Ordernumber
FrequencyDisplayNameA friendly description for the Frequency of the Scheduled Order (e.g. "Every 2 Weeks")string
CyclesThe number of times that the Scheduled Order has processed successfullynumber
CurrencyIsoThe Currency of the Scheduled Order in the 3 digit ISO Formatchar(3)
SubtotalThe Subtotal value of the Scheduled Ordernumber
ShippingTotalThe Shipping cost of the Scheduled Ordernumber
TaxTotalThe Tax value of the Scheduled Ordernumber
TotalThe sum of the Subtotal, ShippingTotal and TaxTotal of the Scheduled Ordernumber
LifetimeValueThe Total Value that has been processed for this Scheduled Ordernumber
NoteAn optional note for the Scheduled Orderstring
CreatedUtcA UTC Datetime that specifies when the Scheduled Order was createddatetime
UpdatedUtcA UTC Datetime that specifies when the Scheduled Order was last updateddatetime
CustomerThe Customer that is associated to the Scheduled OrderCustomer
PaymentMethodThe Payment Method that is associated to the Scheduled OrderPayment Method
ScheduledOrderItemsThe List of Scheduled Order Items that are associated to the Scheduled OrderList of Scheduled Order Items
LastProcessingCycleThe Last Processing Cycle for this Scheduled OrderProcessing Cycle
MetadataThe Scheduled Order's Metadata (see: https://docs.qpilot.cloud/reference/annex-b-working-with-metadata)JSON object

Shipping Fields Specification

Field NameDescriptionData Type
ShippingRateNameThe Name of the Shipping Rate that is set for this Scheduled Orderstring
ShippingTotalThe Shipping cost of the Scheduled Ordernumber
PreferredShippingRateOptionThe Name of the Shipping Rate override that is set for this Scheduled Orderstring
ShippingRateOptionsAll the Shipping Rate options that are available for this Scheduled OrderList of Shipping Rates
ShippingFirstNameThe Shipping Recipient's First Namestring
ShippingLastNameThe Shipping Recipient's Last Namestring
ShippingStreet1The Shipping Recipient's Address Line 1string
ShippingStreet2The Shipping Recipient's Address Line 2string
ShippingCityThe Shipping Recipient's Citystring
ShippingStateThe Shipping Recipient's Statestring
ShippingPostcodeThe Shipping Recipient's Postal Codestring
ShippingCountryThe Shipping Recipient's 2 Digit ISO Country Codechar(2)
PhoneNumberThe Shipping Recipient's Phone Numberstring
CompanyThe Shipping Recipient's Companystring