Skip to main content

Get suppliers for the given organization.

GET 

/partner/v1.0/organizations/:organizationId/suppliers

Get suppliers for the given organization.

Request​

Path Parameters

    organizationId stringrequired

    The ID of the organization in the Carbon Trail platform

Query Parameters

    page int32

    Default value: 1

    The page number to retrieve. Defaults to 1.

    pageSize int32

    Default value: 10

    The number of suppliers to retrieve per page. Defaults to 10.

    $filter string

    An OData $filter expression. Results can be filtered by name, externalId/{Name}, customField/{Id}, or location fields (country for a country code, countryName, continent).

    Example: $filter=location/countryName eq 'India' and customField/fieldId eq 'Preferred'

Responses​

OK

Schema

    data

    object[]

    nullable

    The list of items for the current page.

  • Array [

  • id stringnullable

    The unique identifier of the supplier in CarbonTrail.

    name stringnullable

    The name of the supplier.

    primaryEmail stringnullable

    The primary contact email address for the supplier.

    location

    object

    Represents a geographical location where a manufacturing process or material sourcing takes place.

    id stringnullable

    The unique identifier of the location.

    city stringnullable

    The name of the city.

    stateName stringnullable

    The name of the state where the location is situated.

    country stringrequired

    Possible values: non-empty

    The ISO 3166-1 alpha-2 country code.

    countryName stringnullable

    The full name of the country.

    continent stringnullable

    The name of the continent.

    latitude doublenullable

    The latitude coordinate of the location.

    longitude doublenullable

    The longitude coordinate of the location.

    aliases

    object[]

    nullable

    The aliases associated with the supplier, including alternative identifiers.

  • Array [

  • id stringnullable

    The unique identifier of the alias definition in CarbonTrail.

    name stringnullable

    The name of the alias (e.g., "Supplier ID", "Facility ID").

    value stringnullable

    The identifier value associated with the entity for this alias.

  • ]

  • customFieldValues

    object[]

    nullable

    The values of custom fields associated with the supplier.

  • Array [

  • oneOf

    Represents a custom field value.

    type

    string

    required

    Possible values: [Text, Select, Multi-Select]

    value stringnullable

    The value of the text custom field.

    customFieldId stringrequired

    Possible values: non-empty

    The unique identifier of the custom field this value is associated with.

  • ]

  • externalIdentities

    object[]

    nullable

    The identifiers of the supplier in source systems, used for idempotency to prevent duplicate imports.

  • Array [

  • name stringnullable

    The name of the system (e.g., "SAP", "Workday", "Snowflake") where this ID is from.

    value stringnullable

    The unique identifier value from the system.

  • ]

  • ]

  • page int32

    The current page number (1-indexed).

    pageSize int32

    The number of items per page.

    totalCount int64

    The total number of items across all pages.

Loading...