RE: How to Create Item for Sale in REST web services using postman?
Url: {{REST_SERVICES}}/record/v1/nonInventorySaleItem/eid:NSC-1
Body:
{
“itemId”:123,
“externalId”:”NSC-1″,
“taxschedule”:{“id”:0}
}
response:
{
“type”:”https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1″,
“title”:”Bad Request”,
“status”:400,
“o:errorDetails”:[
{
“detail”:”Error while accessing a resource. Please enter value(s) for: Tax Schedule.”,
“o:errorCode”:”USER_ERROR”
}
]
}
I don’t think id: 0 will be valid?
Do you still get an error with a valid ID?