Wiki

REST Products object

For information about how REST API works, see rest main page.

You can see and manage products catalog here.

REST "products" object allows you to read products catalog, delete records in it, and add new records. When adding new product with "internal_id" that already present in the catalog, fields of old record will be overriden.

Special column "data_last_modified" stores Unix Timestamp of last record modification.

The URL is:

app.personyze.com/rest/products

Insert example

curl --data '{"internal_id": "123", "title": "About all", "description_long": "New product"}' 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/products'

Now if you insert another record with internal_id "123", data will be merged.

curl --data '{"internal_id": "123", "description_long": "Was new product"}' 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/products'

Select example

Select "123".

curl 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/products/where/internal_id=123'

Delete example

Delete "123".

curl -X DELETE 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/products/where/internal_id=123'
©2008-2023 All rights reserved. Personyze® is a registered trademark. Privacy Policy. Terms of Use.