Methods


Entity Properties


A Third Party Billing Account Group represents a group of third party billing accounts. Each group can have one account per carrier/warehouse combination. Groups can be be assigned to an order using order.options.tpb_group_id.

tpb_group.list ()

Retrieve a list of Third Party Billing Groups. Use the tpb_group_id to instruct an order to be shipped on the appropriate third party billing account within the group.

Parameters

The method is used without parameters.

Return Value

An array of objects. Each object will contain “Third Party Billing Group Properties”.

Example Request

{
    "jsonrpc" : 2.0,
    "id" : 1234,
    "method" : "call",
    "params" : [
        "be1c13ed4e03f0ed7f1e4053dfff9658",
        "tpb_group.list",
        []
    ]
}

Example Response

{
    "jsonrpc" : 2.0,
    "id" : 1234,
    "error" : null,
    "result" : [
        {
            "tpb_group_id" : 73,
            "label" : "TPB Group A",
            "status" : "active"
        },
        {
            "tpb_group_id" : 74,
            "label" : "TPB Group B",
            "status" : "pending_approval"
        }
    ]
}

Entity Properties

Third Party Billing Account Group Properties

tpb_group_id
{ "tpb_group_id" : 71 }
An automatically generated unique identifier for a Third Party Billing Account Group.
label
{ "name" : "TPB Group A" }
A descriptive name to identify a Third Party Billing Account Group.
status
{ "status" : "active" }
The status of the group. Possible values: active, inactive, pending_approval