Manually track an order from an affiliate
Full order schema
Meaning and datatypes for each property.
?
datatype are optional.string
- Internal ID of your order.int64?
- The unix timestamp of your order.string?
- The user’s custom purchase notes.boolean?
- ⚠️ This should always be undefined
or false
, unless you for some reason want to manually award royalties.string[]?
- The coupon codes used for this order.decimal?
- ⚠️ The commission the affiliate will receive (this disables automatic commission calculation).Customer?
- The customer assigned to this order.
string?
- The name of the customer.string?
- The mobile number of the customer.string?
- The email address of the customer.string?
- The IP address of the customer.string?
- The country of the customer.string?
- The address of the customer.Product[]
- List of purchased products.
number
- Internal product id.string
- Name of the purchased product.int32
- Quantity of the purchased product.decimal
- Total amount paid for the product (incl. discounts & taxes).decimal
- Subtotal amount (the product price excl. discounts & taxes).decimal
- Tax on this order.object
- Additional metadata - you can add anything here as long as its valid JSON.