To make an API call to Stocky, you must provide:
Store-Name
header field with your .myshopify.com
URLAuthorization
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
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 |
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 |
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 |
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 |
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 |