AkkadAkkadDevelopers

Reference

Items

Products with their variants, prices, photos and stock.

The Item object

idstring
typestring
simple | variable | configurable | bundle
namestring
skustring · can be null
barcodestring · can be null
descriptionstring · can be null
pricenumber · can be null
The selling price.
compare_at_pricenumber · can be null
The crossed-out price, when there is one.
costnumber · can be null
Only with the items.cost scope.
category_idstring · can be null
subcategory_idstring · can be null
brand_idstring · can be null
imagestring · can be null
imagesarray of string
Extra photos, in order.
publishedboolean
Listed on the online store.
digitalboolean
A file sold online, with no stock.
track_stockboolean
stockinteger · can be null
null when stock is not tracked. For an item with variants: the sum of its variants.
unitstring · can be null
weight_gnumber · can be null
variantsarray of Variant
variants[].idstring
variants[].namestring
The variant's value, e.g. "Red" or "XL".
variants[].optionstring · can be null
What the value is a choice of, e.g. "Color".
variants[].skustring · can be null
variants[].barcodestring · can be null
variants[].pricenumber · can be null
variants[].compare_at_pricenumber · can be null
variants[].costnumber · can be null
Only with the items.cost scope.
variants[].stockinteger · can be null
variants[].imagestring · can be null
variants[].packsarray of PackSize
This variant sold in packs. Order one with pack_size_id + quantity = the number of packs.
variants[].packs[].idstring
variants[].packs[].namestring
e.g. "Box of 12".
variants[].packs[].quantityinteger
Units in one pack (stock counts units).
variants[].packs[].pricenumber · can be null
The price of ONE pack.
variants[].packs[].barcodestring · can be null
packsarray of PackSize
The item sold in packs (a box, a carton). Order one with pack_size_id + quantity = the number of packs; the store prices the pack itself.
packs[].idstring
packs[].namestring
e.g. "Box of 12".
packs[].quantityinteger
Units in one pack (stock counts units).
packs[].pricenumber · can be null
The price of ONE pack.
packs[].barcodestring · can be null
created_atstring · can be null
updated_atstring · can be null

List items

GET/items

Scope: items.read

Newest first. Each item comes with its variants.

To keep another system in step, ask again with updated_since set to the time of your last run.

Parameters

limitquery · integer
default 50, 1–100
cursorquery · string
next_cursor of the page before.
updated_sincequery · string
Only items changed at or after this time.
category_idquery · string
A category or a subcategory.
brand_idquery · string
skuquery · string
Exact SKU of the item or of one of its variants.
barcodequery · string
Exact barcode of the item or of one of its variants.
publishedquery · boolean
qquery · string
Search by name (or SKU / barcode), the way the store's own app searches. Answers the best limit matches, best first, with no next page; the other filters are not used with it.
Request
curl https://api.akkad.io/v1/items \
  -H "Authorization: Bearer akk_live_..."
Response · A page of Item objects.
{
  "data": [
    {
      "id": "3f2a9c1e-…",
      "type": "simple",
      "name": "…",
      "sku": "SKU-001",
      "barcode": "…",
      "description": "…",
      "price": 12500,
      "compare_at_price": 12500,
      "cost": 12500,
      "category_id": "3f2a9c1e-…",
      "subcategory_id": "3f2a9c1e-…",
      "brand_id": "3f2a9c1e-…",
      "image": "https://…",
      "images": [
        "https://…"
      ],
      "published": true,
      "digital": false,
      "track_stock": true,
      "stock": 12,
      "unit": "…",
      "weight_g": 12500,
      "variants": [
        {
          "id": "3f2a9c1e-…",
          "name": "…",
          "option": "…",
          "sku": "SKU-001",
          "barcode": "…",
          "price": 12500,
          "compare_at_price": 12500,
          "cost": 12500,
          "stock": 12,
          "image": "https://…",
          "packs": [
            {
              "id": "3f2a9c1e-…",
              "name": "…",
              "quantity": 1,
              "price": 12500,
              "barcode": "…"
            }
          ]
        }
      ],
      "packs": [
        {
          "id": "3f2a9c1e-…",
          "name": "…",
          "quantity": 1,
          "price": 12500,
          "barcode": "…"
        }
      ],
      "created_at": "2026-01-31T10:00:00Z",
      "updated_at": "2026-01-31T10:00:00Z"
    }
  ],
  "next_cursor": null
}

Get an item

GET/items/{item_id}

Scope: items.read

Parameters

item_idin the path · string · required
Request
curl https://api.akkad.io/v1/items/<item_id> \
  -H "Authorization: Bearer akk_live_..."
Response · One Item object.
{
  "id": "3f2a9c1e-…",
  "type": "simple",
  "name": "…",
  "sku": "SKU-001",
  "barcode": "…",
  "description": "…",
  "price": 12500,
  "compare_at_price": 12500,
  "cost": 12500,
  "category_id": "3f2a9c1e-…",
  "subcategory_id": "3f2a9c1e-…",
  "brand_id": "3f2a9c1e-…",
  "image": "https://…",
  "images": [
    "https://…"
  ],
  "published": true,
  "digital": false,
  "track_stock": true,
  "stock": 12,
  "unit": "…",
  "weight_g": 12500,
  "variants": [
    {
      "id": "3f2a9c1e-…",
      "name": "…",
      "option": "…",
      "sku": "SKU-001",
      "barcode": "…",
      "price": 12500,
      "compare_at_price": 12500,
      "cost": 12500,
      "stock": 12,
      "image": "https://…",
      "packs": [
        {
          "id": "3f2a9c1e-…",
          "name": "…",
          "quantity": 1,
          "price": 12500,
          "barcode": "…"
        }
      ]
    }
  ],
  "packs": [
    {
      "id": "3f2a9c1e-…",
      "name": "…",
      "quantity": 1,
      "price": 12500,
      "barcode": "…"
    }
  ],
  "created_at": "2026-01-31T10:00:00Z",
  "updated_at": "2026-01-31T10:00:00Z"
}

Every path is under https://api.akkad.io/v1.