Custom field is not returned in the API response

the Manager API — the custom field “Type” is not returned in the API response. The API only gives itemCode, itemName, unitName, salePrice. The Type field is only visible in the Manager UI.

Share a screenshot of the transaction form you’re reading through the API. Also, ensure the custom field you’re referring to is present in the transaction and has a value.

Delivery note screen

Examine the response JSON. You should see the custom field 2 with key Type UUID for the two items in your transaction.

the grey one you mean .. right?

It looks like you are using the old customFields.

Yes, the GUID/UUID will appear as a dictionary key in the customFields element. Like this:


"lines": [
  {
    "item": {
      "itemCode": null,
      "itemName": "Item 01",
      "unitName": "PCS",
      "inactive": false,
      "customFields": {
        "019fd109-b1ce-749e-91f8-cd7ba948219f": "Test CF Value"
      },
      "customFields2": {
        "strings": {},
        "decimals": {},
        "dates": {},
        "booleans": {},
        "stringArrays": {},
        "images": {}
      }
    }
  }
]