Failed to upload SalesOrder by using REST API

We use  REST API ( https://myaccount-sb1.suitetalk.api.netsuite.com/services/rest/record/v1/salesOrder  , but creating sales order on production, it returns this error:

Failed to upload SalesOrder by using REST API

Any help would be greatly appreciated.  Thank you.

Here’s our request.

{
“item”: {
“items”: [
{
“item”: {
“id”: “982”
},
“rate”: 40.0,
“quantity”: 10.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5915”
},
“rate”: 97.5,
“quantity”: 5.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “6043”
},
“rate”: 75.0,
“quantity”: 5.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “6044”
},
“rate”: 75.0,
“quantity”: 5.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “6045”
},
“rate”: 75.0,
“quantity”: 5.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “1050”
},
“rate”: 49.5,
“quantity”: 20.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “1327”
},
“rate”: 82.5,
“quantity”: 1.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5420”
},
“rate”: 27.5,
“quantity”: 50.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5128”
},
“rate”: 27.0,
“quantity”: 1.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5351”
},
“rate”: 110.0,
“quantity”: 1.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5212”
},
“rate”: 23.5,
“quantity”: 1.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5210”
},
“rate”: 45.0,
“quantity”: 1.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5044”
},
“rate”: 50.0,
“quantity”: 4.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5045”
},
“rate”: 50.0,
“quantity”: 5.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5034”
},
“rate”: 32.5,
“quantity”: 5.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5032”
},
“rate”: 30.0,
“quantity”: 3.0,
“price”: {
“id”: “-1”
}
},
{
“item”: {
“id”: “5587”
},
“rate”: 90.0,
“quantity”: 5.0,
“price”: {
“id”: “-1”
}
}
]
},
“currency”: {
“id”: “1”
},
“email”: null,
“entity”: {
“id”: “7872”
},
“exchangeRate”: 1,
“tranDate”: “2024-04-12”,
“startDate”: null,
“endDate”: null,
“status”: {
“id”: “A”
},
“memo”: “MQO# 4217”,
“shipMethod”: null,
“salesRep”: {
“id”: “8173”
},
“shippingAddress”: {
“zip”: “11237”,
“addr2”: “”,
“city”: “BROOKLYN”,
“addr1”: “”,
“addr3”: “”,
“addressee”: “”,
“state”: “NY”
},
“total”: 5818.0,
“location”: {
“id”: “18”
},
“errorMsg”: null,
“wholesalekey”: null,
“subsidiary”: {
“id”: “50”
}
}

Rookie Asked on April 12, 2024 in SuiteTalk.
Add Comment
1 Answer(s)

Hi,

For more information.  We are able to success upload the sales order with 11 items.  But will return this error when it’s more than 11 items.  Does anyone have any ideas on this issue?  Does NetSuite has a limitation on  numbers of items on Sales Order?  Thank you very much for any help.

Rookie Answered on April 12, 2024.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor