CustomerEdit(
     string itemID 
)

Get all the information of a single commission item.

Request

Request Data:

  • (int) itemID (required) – Identify the ID of the commission item including its type.
    • Commission Item: n1234
    • From Split: s6789
1
2
3
{
    "itemID""n123" // n is for normal Comission Items
}
1
2
3
{
    "itemID""s345" // s is for splits
}

Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
    "Result": {
        "Account": <string>,
        "AccountID": <int>,
        "CommissionGroup": <string>,
        "CommissionGroupID": <int>,
        "CommissionRun": <string>,
        "Customer": <string>,
        "CustomerID": <int>,
        "GrossComm": <string>,
        "GrossCommClaimedPercent": <string>,
        "GrossCommExpectedPercent": <string>,
        "GrossCommPercent": <string>,
        "ItemID": <string>,
        "Margin": <string>,
        "NetBilled": <string>,
        "Note": <string>,
        "NoteForAgents": <string>,
        "Origin": <string>,
        "Quantity": <int>,
        "Referrals": [],
        "Splits": {
            "OriginalNetBilled": <string>,
            "Participants": []
        },
        "Supplier": <string>,
        "SupplierID": <int>,
        "Variables": [
            {
                "Hidden"false,
                "Name": <string>,
                "Note": <string>,
                "Type": <string>,
                "Value": <string>
            }
        ],
        "Wholesale": <string>
    }
}

Errors

  • “Comm Item not found”