Supplier

Supplier(
	int SupplierID,
)

Get account information.

Request

Request Data:

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

Response

{
    "Result": {
        "SupplierID": <int>,
        "Name": <string>,
        "Contact": {
            "ContactID": <int>,
            "Salutation": <string>,
            "FirstName": <string>,
            "LastName": <string>,
            "Title": <string>,
            "Email": <string>,
            "PhoneNumbers": [
                {
                    "Number": <string>,
                    "PhoneNumberID": <int>,
                    "Type": <Type>
                },
                <more Phone Numbers>
            ],
        },
        "Fields": [
            {
                "Field": <string>,
                "Value": <string>
            },
            <more custom fields>
        ]
    }
}

Errors

  • “Call requires parameter: \”SupplierID\” which was not found”
  • “Supplier not found”
%d bloggers like this: