OrderItem
Properties
Name | Type | Required | Description |
---|---|---|---|
type_ | OrderItemType | ✅ | |
sku | str | ✅ | |
quantity | float | ✅ | |
gross_paid_price | float | ✅ | |
description | str | ✅ | |
gross_paid_price_per_unit | float | ❌ | |
tax_amount | float | ❌ | |
tax_percent | float | ❌ | |
image_url | str | ❌ | |
target_url | str | ❌ | |
extra_data | dict | ❌ | |
total_discount | float | ❌ | |
original_price | float | ❌ | |
original_price_per_unit | float | ❌ | |
discounts | List[OrderItemDiscount] | ❌ | |
discounted | bool | ❌ |
OrderItemType
Properties
Name | Type | Required | Description |
---|---|---|---|
PURCHASE | str | ✅ | "PURCHASE" |
RETURN | str | ✅ | "RETURN" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs