ObraLedger

Type to search.

Products

What you sell, and what you keep on the shelf. Prices come back as decimal strings, so they arrive with their cents intact.

What you can do

Fields

61 in total: 58 you set, 3 we keep. Every one of them can come back empty, so read defensively rather than assuming a value is there.

Products fields
Field Type Written by
idstringus
createdAtstringus
updatedAtstringus
namestringyou
descriptionstringyou
productNumberstringyou
articleCodestringyou
eanstringyou
upcCodestringyou
hsnCodestringyou
brandstringyou
modelstringyou
typestringyou
versionstringyou
remarkstringyou
infoUrlstringyou
serialNumberstringyou
labelsstringyou
tagsarrayyou
categoryIdstringyou
unitIdstringyou
statusstringyou
isInactivebooleanyou
isSaleItembooleanyou
isPurchaseItembooleanyou
isStockItembooleanyou
isCatalogItembooleanyou
isWebShopbooleanyou
isFeaturedProductbooleanyou
stockProductTypestringyou
validFromstringyou
validTostringyou
salePricestring money you
saleRrpPricestring money you
salePriceIncludesTaxbooleanyou
salePriceDecimalsintegeryou
saleTaxCodestringyou
saleTaxStatusstringyou
isSaleIndividualbooleanyou
isShippingRequiredbooleanyou
isShippingTaxablebooleanyou
saleLedgerAccountCodestringyou
purchaseLedgerAccountCodestringyou
stockLedgerAccountCodestringyou
cogsLedgerAccountCodestringyou
stockQuantitynumberyou
stockMinimalQuantitynumberyou
stockLocationstringyou
quantityDefaultnumberyou
quantityBackordernumberyou
stockDescriptionstringyou
stockDocumentTypesarrayyou
colorstringyou
diameterstringyou
depthstringyou
heightstringyou
lengthstringyou
openingstringyou
widthstringyou
volumestringyou
weightstringyou

Fields marked money come back as decimal strings like "1234.5600". Keep the string, or hand it to something that does decimal arithmetic.

The shape it comes back in

Shape

Generated from the contract - every field, nothing invented. The values are type names rather than a real record, because we won't put made-up data on a page.

{
  "id": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "name": "string",
  "description": "string",
  "productNumber": "string",
  "articleCode": "string",
  "ean": "string",
  "upcCode": "string",
  "hsnCode": "string",
  "brand": "string",
  "model": "string",
  "type": "string",
  "version": "string",
  "remark": "string",
  "infoUrl": "string",
  "serialNumber": "string",
  "labels": "string",
  "tags": [],
  "categoryId": "string",
  "unitId": "string",
  "status": "string",
  "isInactive": false,
  "isSaleItem": false,
  "isPurchaseItem": false,
  "isStockItem": false,
  "isCatalogItem": false,
  "isWebShop": false,
  "isFeaturedProduct": false,
  "stockProductType": "string",
  "validFrom": "string",
  "validTo": "string",
  "salePrice": "decimal string",
  "saleRrpPrice": "decimal string",
  "salePriceIncludesTax": false,
  "salePriceDecimals": 0,
  "saleTaxCode": "string",
  "saleTaxStatus": "string",
  "isSaleIndividual": false,
  "isShippingRequired": false,
  "isShippingTaxable": false,
  "saleLedgerAccountCode": "string",
  "purchaseLedgerAccountCode": "string",
  "stockLedgerAccountCode": "string",
  "cogsLedgerAccountCode": "string",
  "stockQuantity": 0,
  "stockMinimalQuantity": 0,
  "stockLocation": "string",
  "quantityDefault": 0,
  "quantityBackorder": 0,
  "stockDescription": "string",
  "stockDocumentTypes": [],
  "color": "string",
  "diameter": "string",
  "depth": "string",
  "height": "string",
  "length": "string",
  "opening": "string",
  "width": "string",
  "volume": "string",
  "weight": "string"
}

What's deliberately not here

This is a smaller list than what you'd see on the screen inside ObraLedger, and that's on purpose. Anything we publish becomes a promise we have to keep, and taking a field away later breaks whatever you built on it. Adding one doesn't. So the list starts narrow and grows when somebody needs it.

If something you need is missing, tell us what you're building. That's what shapes the order these get added in.

Base URL https://app.obraledger.com.

Building something and stuck? Tell us - we'd rather hear it than have you guess.