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.

Methods


Entity Properties


tpb_group.list

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

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

Example Response

Response
{
    "jsonrpc" : 2.0,
    "id" : 1234,
    "error" : null,
    "result" : [
        {
            "tpb_group_id" : 73,
            "label" : "TPB Group A",
            "status" : "active",
            "payment_types" : ["shipping"],
            "pva_id" : null,
            "ioss_id" : null,
            "voec_id" : null
        },
        {
            "tpb_group_id" : 74,
            "label" : "TPB Group B",
            "status" : "pending_approval",
            "payment_types" : ["shipping", "duties_and_taxes"],
            "pva_id" : "GB370241527",
            "ioss_id" : "IM3720000960",
            "voec_id" : "VOEC2036495"
        }
    ]
}

Entity Properties

Third Party Billing Account Group Properties