REST (Representational State Transfer)
REST is the architectural style behind most modern web APIs — resources identified by URLs, manipulated with standard HTTP methods, and transferred in a stateless request-response model.
The idea in plain terms
A REST API exposes things — orders, listings, inventory — as addresses. You retrieve one with a GET request to its URL, create one with a POST, change it with a PUT or PATCH, and remove it with a DELETE. Each request carries everything needed to act on it; the server does not need to remember the previous one.
That statelessness is the defining property. It is why REST APIs scale horizontally and why they are easy to test with a single command.
The vocabulary you will meet
- Resource — the thing being addressed, usually a noun: /orders/123.
- Endpoint — the base address for a family of resources.
- Method — GET, POST, PUT, PATCH, DELETE — the verb.
- Payload — the JSON body sent with a write request.
- Status code — 200 success, 201 created, 400 bad request, 401 unauthorised, 429 rate limited, 500 server error.
- Pagination — how large result sets are returned in pages, via a token or offset.
- Rate limit — the ceiling on requests per second or per day.
Where it matters on Amazon
Amazon's Selling Partner API is REST-style: resources for orders, catalogues, inventory, reports and finances, addressed by URL and authenticated with an access token. Understanding the pattern is what turns a rate-limit error, a pagination token or a partial-failure response into a fixable problem rather than a mystery.
Practical rules for working with one
- Read the pagination contract — loop on the token until it is absent.
- Back off on 429 — exponential backoff with jitter, never a tight retry loop.
- Idempotency — for retried writes, use a client token where the API supports it.
- Log the request ID — every response carries one, and support will ask for it.
- Validate before sending — most 400s are schema errors you could have caught locally.
- Store the raw response — for a period, so a dispute about what was returned is answerable.
REST versus the alternatives
GraphQL lets a client ask for exactly the fields it wants; SOAP is a heavier, older protocol still present in some enterprise integrations; event streams push data rather than requiring a pull. REST remains the default because it is simple, cacheable and well understood. For marketplace work, it is what nearly every integration you will touch expects.
Authentication, briefly
Nearly every REST API requires a token, and nearly every integration failure traces back to token management. Access tokens expire; refresh tokens expire more slowly; some APIs require a signature computed from the request body. The pattern on Amazon's Selling Partner API involves exchanging a refresh token for a short-lived access token, then attaching it to each request.
Build the refresh into the client rather than into a human's calendar. An integration that works until someone goes on holiday and the token expires is not an integration, it is a single point of failure with a launch date attached.
Why the style survives
REST has outlasted several generations of API fashion because it maps cleanly onto how the web already works: addresses, standard verbs, cacheable responses. That makes it easy to debug — a single request can be reproduced by hand — and easy to proxy, monitor and rate limit. For integration work the practical benefit is that when something fails, you can reconstruct exactly what was sent and what came back without a specialised client.
The trade-off is chattiness: a screen that needs data from six resources becomes six requests, each carrying overhead. GraphQL exists largely to solve that. For marketplace integrations the volume of data is usually the limiting factor rather than the number of calls, which is why REST remains the default.
REST FAQ
Is REST a protocol?
No — it is an architectural style; HTTP is the protocol usually used to implement it.
Is JSON mandatory?
No, but it is the near-universal choice for modern APIs.
What is a stateless request?
One that carries everything needed to process it, with no reliance on prior calls.
Why do I get rate limited?
You exceeded the request quota; slow down and back off rather than retrying immediately.
Do I need to code to use one?
For the seller-facing APIs, generally yes — or use a tool that already integrates them.
Related terms
API (Application Programming Interface) SP-API (Selling Partner API) Product Advertising API EDI (Electronic Data Interchange)Want these numbers watched for you, every week?
Book Free Consultation
