Supplier(
    int SupplierID,
)

Get account information.

Request

Request Data:

  • (int) SupplierID (required) – identify the supplier.
{
    "SupplierID": <int>
}

Response

{
    "Result": {
        "Archived": <bool>, // Since RPM 27
        "SupplierID": <int>,
        "Name": <string>,
        "Contact": {
            "ContactID": <int>,
            "Salutation": <string>,
            "FirstName": <string>,
            "LastName": <string>,
            "Title": <string>,
            "Email": <string>,
            "PhoneNumbers": [
                {
                    "Number": <string>,
                    "PhoneNumberID": <int>,
                    "Type": <enum 1=Business, 2=Home, 3=Fax, 6=Other>,
                },
                <more Phone Numbers>
            ],
        },
        "Fields": [
            {
                "Field": <string>,
                "Uid": <string>,
                "Format": <enum
                    3=Date,
                    25=DateTime,
                    6=Percent,
                    7=Text,
                    2=Money2,
                    26=Money4,
                    20=Number,
                    29=Double,
                    22=PhoneNumber,
                    50=Duration
                >
                "Value": <string>
            },
            <... more custom fields>
        ]
    }
}

Errors

  • “Call requires parameter: “SupplierID” which was not found”
  • “Supplier not found”