Standards

Overview of standards used by the Tradecloud API and webhooks

triangle-exclamation

Basic authentication

Basic authenticationarrow-up-right is a simple HTTP authentication scheme built into the HTTP protocol. The client sends HTTPS requests with the Authorization header that contains the word Basic followed by a space and a base64-encoded string username:password

Published as RFC 7617 "The 'Basic' HTTP Authentication Scheme"arrow-up-right

Basic authentication is supported by both the API v2.0 and webhooks.

Bearer authentication

Bearer authenticationarrow-up-right is an HTTP authentication scheme that involves security tokens called bearer tokens. The client send HTTPS requests with the Authorization header that contains the word Bearer followed by a space and the token.

Published as RFC 6750 "The OAuth 2.0 Authorization Framework: Bearer Token Usage"arrow-up-right

The bearer token is supported as part of JWT by the API v2.0.

The bearer token is supported as part of OAuth and as static token by the webhooks.

HTTP 1.1 and 2.0

The Hypertext Transfer Protocolarrow-up-right is a stateless application-level protocol for distributed, collaborative, hypertext information systems.

HTTP 1.1. is published as RFC 7230arrow-up-right and RFC 7231 to 7237.

HTTP 2.0 is published as RFC 7540arrow-up-right

ISO Date/Time

Date/time values use ISO 8601arrow-up-right date format YYYY-MM-DD or local date/time format YYYY-MM-DDThh:mm:ss

Published as ISO 8601-1:2019arrow-up-right

JSON

Tradecloud supports JSON and XML. JavaScript Object Notation (JSON) is a lightweight, text-based, language-independent data interchange format.

Published as RFC 8259arrow-up-right and ECMA-404arrow-up-right (PDF)arrow-up-right

circle-exclamation
circle-exclamation

JWT

JSON Web Tokensarrow-up-right are an open, industry standard RFC 7519arrow-up-right method for representing claims securely between two parties.

JWT is supported by the API v2 only (and not by the webhooks).

Media Types

Tradecloud supports a sub set of the RFC 6838 Media Type Specificationsarrow-up-right.

OAuth

OAuth 2.0arrow-up-right is an authorization protocol that gives an API client limited access to user data on a web server. OAuth relies on authentication scenarios called flows, which allow the resource owner (user) to share the protected content from the resource server without sharing their credentials. For that purpose, an OAuth 2.0 server issues access tokens that the client applications can use to access protected resources on behalf of the resource owner.

Published as RFC 6749 "The OAuth 2.0 Authorization Framework"arrow-up-right

The Oauth 2.0 Client Credentials Grantarrow-up-right is supported by the order webhooks only (and not by the API v2 or shipment webhook at this moment).

OpenAPI

The OpenAPI Version 2.0 Specification (OAS 2.0)arrow-up-right creates a RESTful interface for easily developing and consuming an API by effectively mapping all the resources and operations associated with it.

REST

Representational state transfer (REST)arrow-up-right is not a standard but a software architectural style that defines a set of constraints to be used for creating Web services. The Tradecloud API additionally uses a command and query style.

TLS v1.2 and v1.3

Transport Layer Securityarrow-up-right is a cryptographic protocol designed to provide communications security over a computer network.

circle-exclamation

URI

A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource.

Published as RFC 3986arrow-up-right with errataarrow-up-right.

circle-exclamation

UTF-8

ISO/IEC 10646-1 defines a large character set called the Universal Character Set (UCS) which encompasses most of the world's writing systems. The originally proposed encodings of the UCS, however, were not compatible with many current applications and protocols, and this has led to the development of UTF-8

Published as RFC 9259arrow-up-right

XML

Tradecloud supports XML and JSON. The Extensible Markup Languagearrow-up-right its main purpose is serialization, i.e. transmitting arbitrary data.

Published as Extensible Markup Language (XML) 1.0 (Fifth Edition)arrow-up-right

circle-exclamation
circle-exclamation

Last updated