https://api.codat.io/companies/{companyId}/connections/{connectionId}/push/purchaseOrdersPosts a new purchase order to the accounting package for a given company. Required data may vary by integration. To see what data to post, first call Get create/update purchase order model. > **Supported Integrations** > > Check out our Knowledge UI for integrations that support creating purchase orders.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://api.codat.io/companies/{companyId}/connections/{connectionId}/push/purchaseOrders' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://api.codat.io/companies/{companyId}/connections/{connectionId}/push/purchaseOrdersPosts a new purchase order to the accounting package for a given company. Required data may vary by integration. To see what data to post, first call Get create/update purchase order model. > **Supported Integrations** > > Check out our Knowledge UI for integrations that support creating purchase orders.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://api.codat.io/companies/{companyId}/connections/{connectionId}/push/purchaseOrders' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}