Theme switcher

API Reference

Was this section helpful?

What made this section unhelpful for you?

Base URL

Production:

http://sdp.tealbook.com/graphql

Language Box

Was this section helpful?

What made this section unhelpful for you?

Introduction to SDP

The TealBook Supplier Data Platform (SDP) delivers trusted supplier data to targeted enterprise systems via API integration. SDP continuously enriches and autonomously refreshes supplier data.

TealBook provides attribute-level trust scores that can be used in conjunction with our Business Rules Engine to give you control and flexibility over which data attributes are accepted and provided.

If you have any Support inquiries, please reach out to support@tealbook.com or submit a ticket here.

Query

The Query type in GraphQL represents the entry point for retrieving data from the API. It defines the available read-only operations (queries) that clients can execute to fetch data.

Mutation

The Mutation type in GraphQL is used for modifying or creating data. It defines the operations (mutations) that allow clients to make changes to the data stored on the server, such as creating, updating, or deleting resources

Objects

Objects in GraphQL represent complex data structures. They define the fields and their types that can be queried in a GraphQL API. Objects can have nested fields and relationships with other objects.

Scalars

Scalars: Scalars in GraphQL represent primitive data types, such as String, Int, Boolean, Float, etc. They are used to define the types of individual fields in the GraphQL schema.

Enums

Enums in GraphQL define a set of possible values for a field. They represent a discrete set of options or states that a field can have. Enums help ensure type safety and provide a clear list of valid values for a field.

Was this section helpful?

What made this section unhelpful for you?

SortOrder

The SortOrder section in the Tealbook SDP API enables users to control the sorting order of results returned in API requests. By utilizing this section, users can specify the order in which data is displayed, providing flexibility and customization options for their application or system integration.

Was this section helpful?

What made this section unhelpful for you?

1 2 3 4 enum SortOrder { asc desc }
Was this section helpful?

What made this section unhelpful for you?

UploadErrors

The UploadErrors section of the Tealbook SDP API provides information and solutions for handling errors that occur during the data upload process. Users can leverage this section to understand common error scenarios, troubleshoot issues, and implement appropriate error handling strategies, ensuring successful data uploads.

Was this section helpful?

What made this section unhelpful for you?

1 2 3 4 5 6 7 enum UploadErrors { INVALID_DATA INVALID_FILE INVALID_FILE_TYPE INVALID_HEADERS UPLOAD_ERROR }
Was this section helpful?

What made this section unhelpful for you?

UploadTypes

Was this section helpful?

What made this section unhelpful for you?

1 2 3 4 5 enum UploadTypes { SPEND VENDOR_MASTER VENDOR_MASTER_HISTORICAL }
Was this section helpful?

What made this section unhelpful for you?

ExportTypes

Was this section helpful?

What made this section unhelpful for you?

1 2 3 4 5 6 7 8 9 10 11 12 13 enum ExportTypes { CONSOLIDATED_ENRICHED CONSOLIDATED_NO_SPEND CONSOLIDATED_WITH_SPEND DIVERSITY_NO_SPEND DIVERSITY_SPEND SPEND_ORIGINAL SPEND_UNMAPPED TEAL_IQ VENDOR_MASTER_MATCHED VENDOR_MASTER_ORIGINAL VENDOR_MASTER_UNMATCHED }
Was this section helpful?

What made this section unhelpful for you?