Read-only access to purchase orders, stock adjustments, and stock transfers

Authentication

To make an API call to Stocky, you must provide:

  • a Store-Name header field with your .myshopify.com URL
  • an Authorization header field, with API KEY= followed by your Stocky API key

The following example demonstrates how the example.myshopify.com store would make a request for purchase orders:

    GET https://stocky.shopifyapps.com/api/v2/purchase_orders.json
    Store-Name: example.myshopify.com
    Authorization: API KEY=abcdefghijklmnopqrstuvwxyz123456
  

Resources

Purchase Order

Resource Description
GET /api/v2/purchase_orders.json Retrieves a list of purchase orders
GET /api/v2/purchase_orders/{purchase_order_id}.json Retrieves a single purchase order by ID

Stock Adjustment Item

Resource Description
GET /api/v2/stock_adjustment_items.json Retrieves a list of stock adjustment items
GET /api/v2/stock_adjustment_items/{stock_adjustment_item_id}.json Retrieves a single stock adjustment item by ID

Stock Adjustment

Resource Description
GET /api/v2/stock_adjustments.json Retrieves a list of stock adjustments
GET /api/v2/stock_adjustments/{stock_adjustment_id}.json Retrieves a single stock adjustment by ID

Stock Transfer

Resource Description
GET /api/v2/stock_transfers.json Retrieves a list of stock transfers
GET /api/v2/stock_transfers/{stock_transfer_id}.json Retrieves a specific stock transfer

Suppliers

Resource Description
GET /api/v2/suppliers.json Retrieves a list of suppliers
GET /api/v2/suppliers/{supplier_id}.json Retrieves a single supplier by ID

Tax Type

Resource Description
GET /api/v2/tax_types.json Retrieves a list of tax types
GET /api/v2/tax_types/{tax_type_id}.json Retrieves a single tax type by ID