Thank you @Sterio, Louis.
No, I was not able to create a sales order.
So I tried to create one using Client UI, then try to convert it into a shipper by the REST API.
And below is the request and error when I was trying to create that sales order.
REQ
{
"customer": {
"id": "1"
},
"state": "submitted",
"transactionDate": "2024-07-01",
"dueDate": "2024-08-12",
"txnCurrency": "USD",
"baseCurrency": "USD",
"lines": [
{
"dimensions": {
"item": {
"id": "1"
},
"warehouse": {
"id": "1"
},
"location": {
"id": "1"
}
},
"unit": "Each",
"unitQuantity": "1",
"unitPrice": "650"
}
]
}
RESP
{
"ia::result": {
"ia::error": {
"code": "invalidRequest",
"message": "Object named order-entry/document::Sales Order is not supported in version 1-beta2",
"errorId": "REST-1033",
"additionalInfo": {
"messageId": "IA.OBJECT_NAMED_IS_NOT_SUPPORTED_IN_VERSION",
"placeholders": {
"RESOURCE_NAME": "order-entry/document::Sales Order",
"VERSION": "1-beta2"
},
"propertySet": {}
},
"supportId": "6GCYRWEB035%7EZpCVWP5U0Ix4erw-qUs-pwAAABE"
}
},
"ia::meta": {
"totalCount": 1,
"totalSuccess": 0,
"totalError": 1
}
}