I'm still stuck on the pricing issue with saving a nonInventorySaleItem via Restlet, so I'm trying to create it via the REST API but getting an error. The data I'm sending is below, but I'm getting this error.
400 Bad Request
"Error while accessing a resource. Please enter value(s) for: Tax Schedule."
{
"costEstimateType": {
"id": "ITEMDEFINED"
},
"includeChildren": false,
"incomeAccount": {
"id": "262"
},
"expenseAccount": {
"id": "706"
},
"isFulfillable": true,
"isInactive": false,
"itemId": "AC-TEST-ITEM-1",
"taxSchedule": {"id": "1"},
"itemType": {
"id": "NonInvtPart"
},
"price": {
"items": [{
"price": 130.99,
"priceLevel": {
"id": "1"
},
"priceLevelName": "Base Price",
"quantity": {
"value": "0"
}
}]
},
"salesDescription": "Test description for this new product"
}
I found this link that I'm hoping isn't true, because it would really stink if the API requires a field that the API won't allow to be set.
I really need to get these items saving. If anyone has ideas or another way to get around these issues, I'd sure appreciate it.