ShopEazydevelopers
API referenceMerchant API BetaPurchasing

Supplier orders, newest first

Beta
Credentials, one of
  • Station token
  • OAuth access token
Scopes
listings:read
GET
/v1/merchant/stores/{storeId}/purchase-orders

Status, lines and what has arrived.

Access: OAuth scope listings:read; not write-gated.

Paged: { items, nextCursor }, limit (default 30, at most 100) and an opaque cursor. It pages through the newest 100.

Authorization

headerAuthorizationBearer <token>

It may call only the operations whose x-stations lists its kind, on its own store, and acts through the access of the owner or admin who paired it. Unpairing it, or that person leaving the business, ends it (401 station_revoked).

Path Parameters

storeId*string

A store the person can reach. Any other id answers 404, never 403.

Query Parameters

cursor?string

The nextCursor of the previous page, unchanged. A cursor that is not one we gave you is 400 bad_request.

limit?integer

Page size: default 30, at most 100 (more is 100; a missing or unusable value is 30).

Range1 <= value <= 100
Default30

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/purchase-orders' \  -H 'Authorization: Bearer <access_token>'
Example Response
{  "data": {    "items": [],    "nextCursor": null  }}