This API returns a list of all items using either the nextCursor
or the offset
and limit
query parameters for pagination. There are two pagination options:
Using nextCursor
query parameter
- The first call should use nextCursor=*
.
- If the response includes a large number of items, results are returned in pages.
- Use the nextCursor
value from the response in the next request to fetch the following page.
- A missing or empty nextCursor
value indicates there are no more items to retrieve.
- The totalCount
value represents the total number of available items and can be used to estimate the number of pages needed.
Using offset
and limit
query parameters
- The first call should use offset=0
to retrieve the first page of items.
- Retrieve the full list by making additional requests with incremented offset
values.
If a SKU
is included in the request, it functions like the Get an Item request, returning a single item with no pagination required.
get https://marketplace.walmartapis.com/v3/ca/items