API reference

Endpoint overview

On this page

Every call of the GroKeeper API (20 calls in 6 resources). All addresses start with /api/v1 on the address of the store you connect to. Press a name to see its fields, examples and errors.

Each call needs a key with the scope shown. The scopes are explained under Authentication.

Categories#

MethodPathWhat it doesScope
GET/categoriesList categoriesread:categories
GET/categories/{id}Get a categoryread:categories

Products#

MethodPathWhat it doesScope
GET/productsList productsread:products
GET/products/{id}Get a productread:products
POST/productsCreate a productwrite:products
PATCH/products/{id}Update a productwrite:products
DELETE/products/{id}Archive a productwrite:products

Sizes (variants)#

MethodPathWhat it doesScope
GET/products/{id}/variantsList the sizes of a productread:products
POST/products/{id}/variantsAdd a sizewrite:products
PATCH/products/{id}/variants/{variantId}Update a sizewrite:products

Inventory#

MethodPathWhat it doesScope
GET/inventoryList stock levelsread:inventory
GET/inventory/movementsList stock historyread:inventory
POST/inventory/adjustmentsAdd, remove or set stockwrite:inventory

Orders#

MethodPathWhat it doesScope
GET/ordersList ordersread:orders
GET/orders/{number}Get an orderread:orders
PATCH/orders/{number}Change an order's statuswrite:orders
POST/orders/{number}/shipmentAdd shipment detailswrite:orders
POST/orders/{number}/notesAdd an internal notewrite:orders

Customers#

MethodPathWhat it doesScope
GET/customersList customers (contacts)read:customers
GET/customers/{id}Get a customerread:customers

Good to know

There are no checkout, cart, payment, refund or coupon calls, and nothing is deleted. See What the API will never do.