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.

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"
}
<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>
</TransactionItem>

Related Links