FAQ
“Item name is required” Error response error from MachShip API
The issue means on the items, you’re not specifying the “name” field.
"name": "Carton 1",//this field is empty - it can be anything, but it's required
"quantity": 1,
"width": 22,
"length": 36,
"height": 1,
"itemType": "Carton",
"weight": 1,
If you are using stored skus to declare items instead, like this:
"sku": "Carton 1",
"quantity": 1,
"weight": 1,
Then this means the SKU doesn’t exist in MachShip, and you need to add it to MachShip to resolve the issue.
If you use the SKU, we pull the data from the item stored in MachShip that has the matching SKU, and because there is no matching item, we are unable to populate the name.