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.

Was this section helpful?

What made this section unhelpful for you?

Boolean

Represents a boolean value that can be either true or false.

Was this section helpful?

What made this section unhelpful for you?

1 scalar Boolean
Was this section helpful?

What made this section unhelpful for you?

DateTime

The DateTime section in the Tealbook SDP API enables users to work with date and time values in a standardized format. By utilizing this section, users can easily manage and manipulate date-time strings, ensuring consistency and compatibility across their applications.

Was this section helpful?

What made this section unhelpful for you?

1 scalar DateTime
Was this section helpful?

What made this section unhelpful for you?

Float

A signed double-precision floating-point value.

Was this section helpful?

What made this section unhelpful for you?

1 scalar Float
Was this section helpful?

What made this section unhelpful for you?

ID

A unique identifier, often used to refetch an object or as a key for caching.

Was this section helpful?

What made this section unhelpful for you?

1 scalar ID
Was this section helpful?

What made this section unhelpful for you?

Int

A signed 32-bit integer.

Was this section helpful?

What made this section unhelpful for you?

1 scalar Int
Was this section helpful?

What made this section unhelpful for you?

string

The String section in Tealbook SDP allows users to work with UTF-8 character sequences. Users can leverage this section to manipulate and process strings, enabling various operations such as concatenation, searching, and formatting.

Was this section helpful?

What made this section unhelpful for you?

1 scalar string
Was this section helpful?

What made this section unhelpful for you?

Upload

The Upload scalar type represents a file upload.

Was this section helpful?

What made this section unhelpful for you?

1 scalar Upload
Was this section helpful?

What made this section unhelpful for you?

string

A UTF-8 character sequence.

Was this section helpful?

What made this section unhelpful for you?

1 scalar string
Was this section helpful?

What made this section unhelpful for you?

string

A UTF-8 character sequence.

Was this section helpful?

What made this section unhelpful for you?

1 scalar string
Was this section helpful?

What made this section unhelpful for you?

string

A UTF-8 character sequence.

Was this section helpful?

What made this section unhelpful for you?

1 scalar string
Was this section helpful?

What made this section unhelpful for you?

string

A UTF-8 character sequence.

Was this section helpful?

What made this section unhelpful for you?

1 scalar string
Was this section helpful?

What made this section unhelpful for you?

string

A UTF-8 character sequence.

Was this section helpful?

What made this section unhelpful for you?

1 scalar string
Was this section helpful?

What made this section unhelpful for you?

string

A UTF-8 character sequence.

Was this section helpful?

What made this section unhelpful for you?

1 scalar string
Was this section helpful?

What made this section unhelpful for you?

String

A UTF-8 character sequence.

Was this section helpful?

What made this section unhelpful for you?

1 scalar String
Was this section helpful?

What made this section unhelpful for you?

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.