How do i create inventory item via rest? I sent PO...
# suitetalkapi
m
How do i create inventory item via rest? I sent POST request {{REST_SERVICES}}/record/v1/inventoryItem/ with this body
Copy code
{
  "itemId": "TEST ITEM",
  "upcCode": "15610",
  "billingSchedule": {},
  "taxSchedule": "123"
}
and still getting error can anyone send sample post request to help me out?
m
Thanks @battk Actually without changing any settings the same is working via restlet not rest api
b
correct, the limitations of suitescript are not the same as the limitations of suitetalk
m
Whats the best approach to this? @battk Since rest has limitations and restlet is working fine. Which one you prefer if i want to do CRUD operations on purchase orders, sales orders, inventory items? REST/RESTlet/SuiteQL
b
you havent done much research if you think suiteql is an option
💯 1
m
@battk i should stick to restlet then Thanks