question

Bryanne Vega avatar image
Bryanne Vega asked Jacob Abrams answered

Developer Objects or Values for Items

Is there a element/object a developer can use for custom apps?

Example of an Item Object:

{
  "id": "1234",
  "hidden": false,
  "name": "Oporto Especial",
  "price": 0,
  "priceType": "FIXED",
  "defaultTaxRates": true,
  "cost": 0,
  "isRevenue": true,
  "modifiedTime": 1452996146000
  "extradata":"dev_data"
}

In other words, an extra value dev can use for their purposes?

Can be used to hold extra information like: "external_id":"4321" so we can look it up on an external service?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jacob Abrams avatar image
Jacob Abrams answered

Nope, we do not store extra fields on our server, only documented fields are saved. You'll have to store your data on your server and sync it separately. You can store the Clover ID on your server to facilitate the correlation. There is one counter example, that is for Payment objects we have introduced externalPaymentId for semi-integrated merchants where the POS system can store an external ID.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community