Zoho API Create Item

Zoho API Create Item

I am trying to create an item using the Zoho API with the following code:

  1. curl -d '{
  2. "item_type":"inventory",
  3. "name":"Bags-Small",
  4. "sku":"123456"
  5. }' https://inventory.zoho.com/api/v1/items?authtoken=XXXXXXXXXXXXXXXXXXXX
I get the following error:

{"code":4,"message":"Invalid value passed for JSONString"}

Help would be appreciated thanks.