Retrieve Suppliers

Retrieve a list of all connected suppliers within the system

Overview

The Retrieve Suppliers API is used by the Agent to access a comprehensive list of all connected suppliers. By using this API, the Agent can obtain key details about each supplier, including unique identifiers, contact information, and their current connectivity status. The API response provides a clear and structured overview of all connected suppliers, making it easier for the Agent to manage and interact with them.

Endpoints Available

MethodEndpointDescription
GETv2023.07.31/suppliersRetrieve a list of all connected suppliers

Query String Parameters

ParametersRequired / OptionalDescriptionData Type
pageOptionalThe page to be shownint
pageSizeOptionalLimits the number of returned resultsint

Response Definition

Response ItemDescriptionData Type
"suppliers"An array containing information about the connected Suppliersarray

"suppliers" Object

Response ItemDescriptionData Type
"user_id"The unique identifier of the Supplierint
"email"The email address associated with the supplier userstring
"telephone"The contact telephone number of the supplierstring
"full_name"The full name of the Supplierstring
"first_name"The first name of the Supplierstring
"last_name"The last name of the Supplierstring
"company_name"The name of the company associated with the Supplierstring
"address"An object containing the address details of the Supplierobject
"domain_name"The domain name associated with the supplier's websitestring

"address" Object

Response ItemDescriptionData Type
"address_line_1"The first line of the Supplier's addressstring
"address_line_2"The second line of the Supplier's address (optional)string
"city"The City where the Supplier is locatedstring
"state_province"The State or Province where the Supplier is locatedstring
"country"The Country where the Supplier is locatedstring
"postal_code"The Postal or ZIP code of the Supplier's locationstring

Sample Request

curl --request GET \
     --url 'https://api.ciiruspartners.com/v2023.07.31/suppliers?page=1&pageSize=50'

Sample Response

{
    "suppliers": [
        {
            "user_id": 42330,
            "email": "[email protected]",
            "telephone": "3212518020",
            "full_name": "CiiRUS VRS",
            "first_name": "CiiRUS",
            "last_name": "VRS",
            "company_name": "CiiRUS,Inc.",
            "address": {
                "address_line_1": "1142 Celebration Blvd",
                "address_line_2": "",
                "city": "Celebration",
                "state_province": "FL",
                "country": "US",
                "postal_code": "34747"
            },
            "domain_name": "https://ciirus.com"
        },
      ...
    ],
    "next_page_url": "https://api.ciiruspartners.com/v20230731/suppliers?page=2&pageSize=50",
    "total_page_count": 4
}