The basic media types the API supports are:
Request content type
Requests have to be encoded using the UTF-8 character set.
When making a request that contains a body, the content type to be sent has to be specified in the
To send e.g. a JSON body the header would be:
Response content type
You can specify the content you would like to receive in an
Accept header, e.g.
The body of a JSON request is an object containing a set of key-value pairs. A simple JSON object could look like this:
Responses have a similar structure as requests. If a request returns a single object, the response will also contain a single object including the fields for that resource. The response will contain links to available sub-resources, e.g. product images.