Get a collection of items

get/items

The GET /items call allows your platform to look up a collection of items. Items describe an item or service for sale. For standardized merchandise, an item could be a stock keeping unit (SKU).

SecurityappIdAuth and appTokenAuth
Request
query Parameters
page
string

Return elements from this page.

page_size
integer [ 1 .. 50 ]
Default: 10

Return no more than this many elements per page. If not specified, page_size defaults to 10. Maximum value allowed is 50.

create_time_start
integer <int64>

The timestamp for the start of the search window.

create_time_end
integer <int64> >= 0

The timestamp for the end of the search window.

reference_number
string

Return items created with this reference number.

header Parameters
Api-Version
required
string
Example: 3.0
Unique-Key
string
Responses
200
Response Schema: application/json
required
Array of objects

An array of item objects.

next
required
string or null

An opaque path for the next page of results. You can perform an HTTP GET to obtain the next page.

previous
required
string or null

An opaque path for the previous page of results. You can perform an HTTP GET to obtain the previous page.

api_version
string
400

INVALID_PARAMS

403

NOT_AUTHORIZED

500

UNEXPECTED_ERROR

Request samples
Response samples
application/json
{
  • "next": "/items?page=AQQHAAEX8yf1HDkrXqO7R-wy2joNU6ooRNCyDb-sSbbvR-8J6jKeFgpqprcIsuEnBh4fqImpR2eYjKIgSCirw2mhEFR7m5AsSj1OkG9emNFWhXQvreOczuQU7UzZ",
  • "previous": null,
  • "api_version": "3.0",
  • "results": [
    • {
      • "create_time": 1390656130,
      • "description": "Classic Iron Anvil",
      • "id": "f48cd8e6-e802-4500-a0f9-3ab6228c6f23",
      • "owner": {
        • "id": "d7608b20-fea5-4eb5-bd30-d3f58435e78b",
        • "path": "/accounts/d7608b20-fea5-4eb5-bd30-d3f58435e78b",
        • "resource": "accounts"
        },
      • "path": "/items/f48cd8e6-e802-4500-a0f9-3ab6228c6f23",
      • "photos": [ ],
      • "price": 490,
      • "product_code": "XYZ321",
      • "product_details": {
        • "band": "nike"
        },
      • "product_name": "Acme Anvil - 100 Lb",
      • "reference_number": "abc_123456",
      • "resource": "items",
      • "shipping_options": [
        • "regular",
        • "expedited"
        ],
      • "state": "active",
      • "terms": {},
      • "weight": {
        • "units": "pounds",
        • "weight": 1
        },
      • "api_version": "3.0"
      }
    ]
}