Get items

This endpoint is deprecated.
POST/api/RPC.common.Api.Items.get?token=<TOKEN>

Key Items.get · API version 2.0.0

Parameters

9 body parameters inside data[]
FieldTypeDescription
idIntegerItem ID
skurequiredStringItem SKU
namerequiredStringItem name
barcodesrequiredStringItem barcodes (use , to add more than one barcode)
from_dateStringFrom date
to_dateStringTo date
get_allBooleanGet all
offsetStringOffset
limitStringLimit

Request example

Search By Id:
{
   "data" : [
      {
         "id" : 1224125036
      }
   ]
}
Search By Code:
{
   "data" : [
      {
         "sku" : 98765432
      }
   ]
}
Search By Barcode:
{
   "data" : [
      {
         "barcodes" : 34567
      }
   ]
}
Search By Name:
{
   "data" : [
      {
         "name" : "Nike Dunk Panda W - 39"
      }
   ]
}
Search By All Params:
{
   "data" : [
      {
         "sku" : 98765432,
         "barcodes" : 34567,
         "id" : 1224125036,
         "name" : "Nike Dunk Panda W - 39"
      }
   ]
}
Get All:
{
	"data":[
		{}
	],
	"get_all":1,
	"limit":10000,
	"offset":0
}

cURL

Search By Id:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "id" : 1224125036      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Items.get?token=<TOKEN>"
Search By Code:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "sku" : 98765432      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Items.get?token=<TOKEN>"
Search By Barcode:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "barcodes" : 34567      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Items.get?token=<TOKEN>"
Search By Name:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "name" : "Nike Dunk Panda W - 39"      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Items.get?token=<TOKEN>"
Search By All Params:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{   "data" : [      {         "sku" : 98765432,         "barcodes" : 34567,         "id" : 1224125036,         "name" : "Nike Dunk Panda W - 39"      }   ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.Items.get?token=<TOKEN>"
Curl example Get All:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{	"data":[		{}	],	"get_all":1,	"limit":10000,	"offset":0}	' "https://<DOMAIN_NAME>/api/RPC.common.Api.Items.get?token=<TOKEN>"

Response example

    HTTP/1.1 200 OK
{
   "result" : [
      {
         "bom_rows" : [],
         "createdon" : "2025-10-10 11:28:28",
         "name_multilang" : {
            "en" : "Nike Dunk Panda",
            "bg" : "Nike Dunk Panda W - 39"
         },
         "group" : {
            "id" : 1137309608,
            "code" : 67859689,
            "tp" : "items",
            "parent_name" : "Clothes",
            "expense_allocation_id" : 21652,
            "have_childs" : 0,
            "name" : "T-Shirts",
            "name_multilang" : {
               "bg" : "T-Shirts",
               "en" : "T-Shirts"
            },
            "parent_id" : 1137309595,
            "income_allocation_id" : 21561
         },
         "updatedon" : "2025-10-10 11:28:28",
         "service" : 0,
         "barcodes" : [
            {
               "barcode" : 34567,
               "tp" : "",
               "measure" : null,
               "sku" : 98765432,
               "is_system" : 0,
               "order_id" : 1
            }
         ],
         "sku" : 98765432,
         "other" : 0,
         "vendor_name" : "",
         "control_type" : null,
         "description_multilang" : {},
         "status" : "work",
         "description" : "",
         "vendor_code" : "",
         "id" : 1224125036,
         "brand" : {
            "id" : 3139787,
            "name" : "APPLE",
            "name_multilang" : {
               "bg" : "APPLE",
               "en" : "APPLE"
            },
            "code" : "APL"
         },
         "base_quantity_digits" : 1,
         "name" : "Nike Dunk Panda W - 39",
         "item" : 1,
         "image_url" : "",
         "measures" : [
            {
               "second" : null,
               "W" : "0.0000000000",
               "name_multilang" : {
                  "bg" : "Pieces"
               },
               "L" : "0.0000000000",
               "weight" : "0.0000000000",
               "code" : "pcs",
               "id" : 21765,
               "base" : 1,
               "si_label" : "pcs",
               "H" : "0.0000000000",
               "formula" : 1,
               "is_weight" : 0,
               "name" : "Pieces",
               "gross" : "0.0000000000",
               "tp" : "base",
               "si_label_multilang" : {
                  "bg" : "pcs"
               }
            }
         ],
         "tax_letters" : [],
         "tp" : "item"
      }
   ],
   "count" : 1,
   "total_count" : 1
}