We look at several headers to change the response of the api. Here are some of the common ones you may use:
Tells the server what kind of data you are sending it.
None, application/hal+json is the recommended value
Tells the server what kind of data you will accept back.
None, application/hal+json is the recommended value here
The version of the API that you are requesting.
3.0 is recommended as it is the current version of the API.
Locale value that tells the server which language you expect content to be returned in.
The currency to show all price values.
Valid values can be found at /api/currencies/display
Show only listings that ship to this region
None, will show everything.
Valid valid values can be found at /api/shipping/regions .
Updated about a year ago