Supported OAuth and Commerce API formats
Learn about supported OAuth and Commerce API formats.
Last updated
Learn about supported OAuth and Commerce API formats.
Last updated
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.
The following example shows the supported accept header format for the resource.
The following example shows the supported accept header format for resource.
The following GET request sets the parameter format to JSON:
Digital River supports the XML format for webhooks.