Order
For loop type lifter_order, here are the query parameters and fields.
Query parameters
has_coupon- If a coupon was used - true/false.
Type: booleanhas_discount- If there was a discount applied to this order via either a sale or a coupon - true/false.
Type: booleanhas_sale- If the access plan was on sale during the purchase - true/false.
Type: booleanhas_scheduled_payment- If there's a payment scheduled for the order - true/false.
Type: booleanhas_trial- If the order has a trial - true/false.
Type: booleanhas_trial_ended- If the trial period has ended for the order - true/false.
Type: booleanis_recurring- If the order is recurring or singular - true/false.
Type: booleanproduct- Product ID or "current" for current product where the order is assigned.
Type: stringstatus-
Type: string, arrayuser- User ID or "current" for current user.
Type: string
Fields
access_expiration_date- Determine the date when access will expireaccess_status- Get the current status of a student's access - 'inactive', 'expired', 'active'billing_address_1- Billing address_1billing_address_2- Billing address_2billing_city- Billing citybilling_country- Billing countrybilling_cycle- Billing cyclebilling_email- Billing emailbilling_first_name- Billing first namebilling_frequency- Billing frequencybilling_last_name- Billing last namebilling_period- Billing periodbilling_phone- Billing phonebilling_state- Billing statebilling_zip- Billing zipcoupon_amount- Formatted coupon amount with a currency symbol or percentagecoupon_amount_regular- Order coupon amountcoupon_amount_trial- Order coupon trial amountcoupon_value_trial- Order coupon trial valuecustomer_name- Customer's full namegateway- Payment gateway instance for the order's selected payment gatewaygateway_title- Payment gateway titlehas_coupon- If a coupon was used - true/falsehas_discount- If there was a discount applied to this order - true/falsehas_sale- If the access plan was on sale during the purchase - true/falsehas_scheduled_payment- If there's a payment scheduled for the order - true/falsehas_trial- If the order has a trial - true/falsehas_trial_ended- If the trial period has ended for the order - true/falseid- Order IDinitial_price- Initial payment amount due on checkout - value of "total" except when the product has a trialis_recurring- If the order is recurring - true/falselast_transaction_date- Date of the last (most recent) transactionnext_payment_date- Due date of the next payment according to access plan termsoriginal_total- Order original totalplan_title- Access plan titleproduct_id- Order product idproduct_link- Order product linkproduct_title- Order product titlesale_price- Order sale pricestart_date- Date of the first initially successful transaction - if none found, uses the created date of the orderstatus- Order llms statusstatus_name- Order status nametotal- Totaltransactions- Order transactions list loop- 'id', 'status', 'status_name', 'date', 'refund_amount', 'amount', 'net_amount', 'gateway_source_description', 'pages'trial_end_date- Date when a trial will endtrial_length- Trial lengthtrial_original_total- Trial original totaltrial_period- Trial periodtrial_total- Trial totalview_link- Link to view the order on the student dashboard