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.
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 3 years ago