Create Purchase Orders via API
Overview
Yanet Purchase Orders provides a Public API that allows external systems to create Purchase Orders programmatically.
This is useful when you want to connect Yanet Purchase Orders with another system and automatically create Purchase Orders based on data from that system.
Note: The Public API currently supports creating Purchase Orders. Other API operations are not covered by this documentation.
Endpoint: POST /api/public/purchase-orders
API Documentation
For the complete request parameters, data structure, authentication requirements, and API examples, refer to the Public Purchase Orders API documentation.
API Endpoint
Endpoint: https://po.yanet.io/api/public/purchase-orders
Use this endpoint to send Purchase Order data from your external system to Yanet Purchase Orders.
Authentication
Before using the API, generate your API credentials from Yanet Purchase Orders.
Step 1 — Open Settings
Open Yanet Auto Purchase Orders and go to Settings.

Step 2 — Open API Access
Select API Access from the Settings menu.

Step 3 — Generate API Credentials
Click Generate new key to generate your Client ID and Client Secret.

Step 4 — Copy Your Credentials
Copy the Client ID and Client Secret and use them to authenticate API requests.
Keep your Client Secret secure and do not share it publicly.
Create a Purchase Order
Send the required Purchase Order data to the API endpoint using a POST request.
Request
POST https://po.yanet.io/api/public/purchase-ordersThe external system should send the Purchase Order information required by the API.
Send the Request
Configure your external system to send the Purchase Order data to the Yanet API.
The API supports creating one or multiple Purchase Orders in a request, with a maximum of 100 Purchase Orders per request.
Result
When the request is successfully processed, the Purchase Order will be created in Yanet Purchase Orders.
You can then go to Purchase Orders in the app to review the created PO.
For batch requests, the API returns the number of successfully created and failed Purchase Orders, along with details about any errors.
Use Cases
The API can be used to connect Yanet Purchase Orders with external systems such as:
- Inventory or procurement systems
- ERP systems
- Custom business applications
- Other platforms that generate Purchase Order data
Integration Flow
The integration works as follows:
External System → API Request → Yanet Purchase Orders → Purchase Order Created
Updated on: 21/08/2026
Thank you!
