curl --location --request POST 'https://api.dev.geadev.com/wms/api.wms.v1.WMSInternalPurchaseOrderAPI/CreatePurchaseOrder' \
--header 'Connect-Protocol-Version;' \
--header 'Connect-Timeout-Ms;' \
--header 'Content-Type: application/json' \
--data-raw '{
"teamCode": "string",
"clientCode": "string",
"clientVendorCode": "string",
"totalAmount": {
"currencyCode": "string",
"units": 0,
"nanos": 0
},
"note": "string",
"isDraft": true,
"items": [
{
"clientSku": "string",
"quantity": 1,
"unitPrice": {
"currencyCode": "string",
"units": 0,
"nanos": 0
},
"uom": "string"
}
],
"clientPoCode": "string"
}'{
"data": {
"id": 0,
"code": "string",
"team": {
"id": 0,
"code": "string",
"name": "string"
},
"warehouse": {
"id": 0,
"code": "string",
"name": "string"
},
"client": {
"id": 0,
"code": "string",
"firstName": "string",
"lastName": "string"
},
"clientVendor": {
"id": 0,
"clientCode": "string",
"clientVendorCode": "string",
"name": "string",
"address1": "string",
"address2": "string",
"country": "string",
"state": "string",
"city": "string",
"zipCode": "string"
},
"status": "string",
"note": "string",
"totalAmount": {
"currencyCode": "string",
"units": 0,
"nanos": 0
},
"createdAt": "2023-01-15T01:30:15.01Z",
"updatedAt": "2023-01-15T01:30:15.01Z",
"items": [
{
"id": 0,
"clientSku": "string",
"systemSku": "string",
"clientProductName": "string",
"quantity": 0,
"awaitingReceiptQuantity": 0,
"receivedQuantity": 0,
"receivedGoodQuantity": 0,
"receivedDamagedQuantity": 0,
"unitPrice": {
"currencyCode": "string",
"units": 0,
"nanos": 0
},
"uom": "string",
"product": {
"id": 0,
"systemSku": "string",
"clientSku": "string",
"name": "string",
"type": "string",
"status": "string",
"warehouseBarcode": "string",
"thumbnailUrl": "string"
}
}
],
"shipments": [
{
"id": 0,
"code": "string",
"status": "string",
"createdAt": "2023-01-15T01:30:15.01Z",
"updatedAt": "2023-01-15T01:30:15.01Z",
"invoiceNumber": "string",
"trackingCode": "string",
"trackingCarrier": "string",
"trackingStatus": "string",
"shippingMethod": "string",
"containerNumber": "string",
"estimatedReceivedAt": "2023-01-15T01:30:15.01Z"
}
],
"totalQuantity": 0,
"totalReceivedQuantity": 0,
"clientPoCode": "string"
}
}