Supported OAuth and Commerce API formats
Learn about supported OAuth and Commerce API formats
The Commerce API and OAuth support requests and responses in XML and JSON formats. XML is the default for the Commerce API; JSON is the default for the OAuth API. You can override the default in the Accept header for both the OAuth and Commerce API. You can also override the default format using the format query parameter in the Commerce API.
Accept header format for OAuth
The following example shows the supported accept header format for the OAuth resource.
Accept header format for Commerce API
The following example shows the supported accept header format for Shopper resource.
Query parameter format
The following GET request sets the parameter format to JSON:
Supported webhook formats
Digital River supports the XML format for webhooks.
Last updated