Skip to content

List purchase orders

GET/admin/v1/stores/{store_id}/inventory/purchase-orders
  • inventory:read

Purchase orders, newest first.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Query parameters

  • statusenum

    Where a purchase order is.

    • draft
    • ordered
    • received
    • closed
  • supplier_idstring

    An ID like supl_01k8qs5s….

  • location_idstring

    Delivered to this location.

  • limitinteger

    1–250, default 50.

  • cursorstring

    page.next_cursor from the previous page.

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 A page of purchase orders.

Errors

  • 400bad_requestMalformed cursor.
  • 403forbiddenMissing permission.