id string, not null
The identifier for the order line item.
order_id string, not null
The unique identifier of the order.
invoice_line_item_id string, not null
The invoice line item id associated with this order line item.
invoice_id string, not null
The invoice of the line item.
amount long, null
The sub total, of the order line item
amount_adjusted long, null
The total amount adjusted on the invoice, on behalf of this delivery
amount_paid long, null
The total amount paid on the invoice, on behalf of this delivery
description string, null
The line item description.
discount_amount long, null
The discount given on the order line item.
entity_id string, null
The identifier of the modelled entity this lineitem is based on. Will be null for 'adhoc' entity type
entity_type string, not null
Specifies the modeled entity (plan / addon etc.) this line item is based on. Possible values are:
addon
: Indicates that this line item is based on the 'Addon' entity. The entity_id
attribute specifies the addon ID.addon_item_price
: Indicates that this line item is based on an addon Item Price.adhoc
: Indicates that this line item is not modeled (created ad hoc). The entity_id
attribute will be null in this case.charge_item_price
: Indicates that this line item is based on a charge Item Price.plan
: Indicates that this line item is based on the 'Plan' entity. The entity_id
attribute specifies the plan ID.plan_item_price
: Indicates that this line item is based on a plan Item Price.plan_setup
: Indicates that this line item is based on a 'Plan Setup' charge. The entity_id
attribute specifies the plan ID.
fulfillment_amount long, null
The amount that is going to get fulfilled for this order(amount after tax and discount)
fulfillment_quantity null
The quantity that is going to get fulfilled for this order
is_shippable boolean, not null
Appliable only if configured to include non shippable charges in orders, specifies if the charge is applicable for shipping
item_level_discount_amount long, null
Item level discount amount
refundable_credits long, null
The total amount issued as credits on behalf of this delivery
refundable_credits_issued long, null
The total refundable credits issued on the invoice, on behalf of this delivery
sku string, null
The SKU for the delivery.
status string, null, default=queued
The status of this order. Possible values are:
awaiting_shipment
: Moved to shipping platform.cancelled
: The order has been returned after delivery.delivered
: The order line item has been delivered.on_hold
: The delivery has been moved to "On hold" status.partially_delivered
: The order has been partially delivered to the customer.queued
: Not processed for shipping yet.returned
: The order has been returned after delivery.shipped
: The order line item has been shipped.
tax_amount long, null
The total tax applied on this line item
unit_price long, null
The unit price.