Suppliers

Retrieve suppliers from the Basecone office where you're user has rights to.

GET suppliers?companyid=:companyId&externalId=:id

Request properties

Property Type Description Optional
externalId String External supplier unique Identifier. Yes
companyId Guid Company unique Identifier. No

Suppliers collection properties

Property Type Description
supplierId Guid Unique identifier of supplier
code string Code of supplier
name string Name of supplier
externalId string External identifier from accounting system

For details on supplier properties see supplier details.

For details on collections see collection details.

Example response:

{
    "suppliers" : [{
        "supplierId" : "cec49cc1-e451-4388-877a-3cb1dddc46f9"
        "code" : "2025",
        "name" : "2jours",
        "externalId" : "2025",
        "_links" : [{
            "rel" : "self",
            "href" : "https://api.basecone.com/v1/suppliers/2025"
            }],
        }, {
        "supplierId" : "930f5739-00dd-4160-b829-1c9c58806c51",
        "code" : "2033",
        "name" : "ASdasdfasdf",
        "externalId" : "2033",
        "_links" : [{
            "rel" : "self",
            "href" : "https://api.basecone.com/v1/suppliers/2033"
        }]
    }],
    "_links" : [{
        "rel" : "self",
        "href" : "https://api.basecone.com/v1/suppliers?limit=20&offset=0"
    }],
    "_metadata" : {
        "total" : 2,
        "count" : 2
    }
}