GET
/
accounting
/
items
/
{itemId}
curl --request GET \
  --url https://api.maesn.dev/accounting/items/{itemId} \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": [
    {
      "id": "02c74e8a-b95b-ef11-bfe2-002248e5aac5",
      "assetAccountId": "80",
      "expenseAccountId": "81",
      "incomeAccountId": "79",
      "inventoryStartDate": "2021-01-01",
      "itemNumber": "12345-A",
      "lastModifiedDate": "2021-01-01T00:00:00Z",
      "name": "Handmade Plastic Chair",
      "priceIncludesTax": true,
      "stockCount": 11,
      "taxCode": "TAX19",
      "taxRatePercentage": 19,
      "type": "PRODUCT",
      "unitName": "PIECE",
      "unitPurchasePrice": 10,
      "unitSalesPrice": 20.5
    }
  ]
}

Field support per integration

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Path Parameters

itemId
string
required

Query Parameters

companyId
string
environmentName
string
rawData
boolean

Response

200 - application/json

The response is of type object.