Skip to main content

OrdersOrderIdBody

Properties

NameTypeRequiredDescription
couponstrID of a coupon that is applied against this order. String starting with coupon_. The duration field of the coupon must be set to repeating, and the duration_in_months and discount_duration_in_uses fields must be set to 1.
metadatadictA JSON object defined by the client.
tax_percentfloatPercentage of tax to charge. Decimal.
statusOrdersOrderIdBodyStatusIndicates the status of the order. Can be changed when status is pending, paid or fulfilled

OrdersOrderIdBodyStatus

Indicates the status of the order. Can be changed when status is pending, paid or fulfilled

Properties

NameTypeRequiredDescription
PAIDstr"paid"
PENDINGstr"pending"
CANCELEDstr"canceled"
FULFILLEDstr"fulfilled"
RETURNEDstr"returned"
PARTIALstr"partial"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →