- master
- Stores**POST
- Article BatchesPOST
- Article EansPOST
- Article Master**POST
- Article Supplier Mapping**POST
- DC - Store Mapping**POST
- ManufacturerPOST
- Purchase ReturnsPOST
- WastagesPOST
- Supplier Master**POST
- Supplier ContactsPOST
- Production Pipeline ExecutionPOST
- Kit MasterPOST
- Bulk Repack MasterPOST
- Article Uom MasterPOST
- Supplier WalkInsPOST
- Article Pricing MasterPOST
- Article Store LimitsPOST
- Current Stock**POST
- Stores As SuppliersPOST
- Stock Location**POST
- Customer MasterPOST
- Company GroupPOST
- Hierarchy Headers**POST
- Hierarchy Details**POST
- Article Hierarchy**POST
- Article AttributesPOST
- ArticleGateKeeperMarginPOST
- transactional
- Stock Ledger**POST
- Bill Header**POST
- Bill Detail**POST
- Invoices Header**POST
- Invoices Detail**POST
- Supplier Invoice AcknowledgementPOST
- Purchase Order Header**POST
- Purchase Order DetailPOST
- Transfer In Header**POST
- Transfer In Detail**POST
- Transfer Out Header**POST
- Transfer Out Detail**POST
- Transfer Advice HeaderPOST
- Transfer Advice DetailPOST
Purchase Order Header**
POST
/tx/po_header/
transactional
Request
Query Params
full_sync
boolean
optional
Header Params
X-SYNC-TOKEN
string
required
<sync_token>
Accept-Encoding
string
required
Body Params application/json
array of:
store_id
string
required
supplier_id
string
required
po_no
string
required
This may be different from your central PO number. If not present the central PO number can be used here.
po_display_no
string
required
The display number is used in combination with the year to match with the purchase orders raised in The Eye.
hq_po_ref
string
required
You would see this PO reference for tracking and purchase analysis"
purchase_date
string <date>
required
expiry_date
string <date>
required
created_at
string <date-time>
required
Example
[
{
"store_id": "string",
"supplier_id": "string",
"po_no": "string",
"po_display_no": "string",
"hq_po_ref": "string",
"purchase_date": "2019-08-24",
"expiry_date": "2019-08-24",
"created_at": "2019-08-24T14:15:22Z"
}
]
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.your-api-server.com/tx/po_header/' \
--header 'X-SYNC-TOKEN;' \
--header 'Accept-Encoding;' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"store_id": "string",
"supplier_id": "string",
"po_no": "string",
"po_display_no": "string",
"hq_po_ref": "string",
"purchase_date": "2019-08-24",
"expiry_date": "2019-08-24",
"created_at": "2019-08-24T14:15:22Z"
}
]'
Responses
🟢200OK
application/json
Body
status
string
optional
message
string
optional
Example
{
"status": "string",
"message": "string"
}
🟠403Forbidden
🟠405405
Modified at 2025-02-10 12:39:04