Getting Started

Generating API Keys

Calling API Functions

JSON or XML

API Call Rate Limits

Affiliate Accounts

Functions

Types

Merchant Accounts

Functions

Types

TransactionItem Type

Represents a single item that was purchased as part of a transaction.


Properties

Name Type Description
Sku
String The SKU of the transaction item.
Quantity
Integer The quantity of the transaction item.
ReportedSaleValue
Decimal The sale value of the transaction item in the original reported currency.
SaleValue
Decimal The sale value of the transaction item.
Commission
Decimal The name of the data feed item.
Name
String The name of the transaction item.
Brand
String The brand of the transaction item.
Category
Url The category of the transaction item.
CartItemReference
String An arbitrary value, as specified by the advertiser. Can be used for custom reporting and custom commission rules.
CartItemReference2
String An arbitrary value, as specified by the advertiser. Can be used for custom reporting and custom commission rules.
CartItemReference3
String An arbitrary value, as specified by the advertiser. Can be used for custom reporting and custom commission rules.
CartItemReference4
String An arbitrary value, as specified by the advertiser. Can be used for custom reporting and custom commission rules.

JSON XML

Example

{
    "Sku": "P0001",
    "Quantity": 1,
    "ReportedSaleValue": 50.00,
    "SaleValue": 50.00,
    "Commission": 5.00,
    "Name": "Example Product 1",
    "Brand": "Example Brand 1",
    "Category": "Clothing",
    "CartItemReference": null,
    "CartItemReference2": null,
    "CartItemReference3": null,
    "CartItemReference4": null
}
<TransactionItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.commissionfactory.com/V1/Affiliate">
    <Sku>P0001<Sku>
    <Quantity>1<Quantity>
    <ReportedSaleValue>50.00<ReportedSaleValue>
    <SaleValue>50.00<SaleValue>
    <Commission>5.00<Commission>
    <Name>Example Product 1<Name>
    <Brand>Example Brand 1<Brand>
    <Category>Clothing<Category>
    <CartItemReference i:nil="true" />
    <CartItemReference2 i:nil="true" />
    <CartItemReference3 i:nil="true" />
    <CartItemReference4 i:nil="true" />
</TransactionItem>

Related Links