Dcove
  1. transactional
Dcove
  • master
    • Stores**
      POST
    • Article Batches
      POST
    • Article Eans
      POST
    • Article Master**
      POST
    • Article Supplier Mapping**
      POST
    • DC - Store Mapping**
      POST
    • Manufacturer
      POST
    • Purchase Returns
      POST
    • Wastages
      POST
    • Supplier Master**
      POST
    • Supplier Contacts
      POST
    • Production Pipeline Execution
      POST
    • Kit Master
      POST
    • Bulk Repack Master
      POST
    • Article Uom Master
      POST
    • Supplier WalkIns
      POST
    • Article Pricing Master
      POST
    • Article Store Limits
      POST
    • Current Stock**
      POST
    • Stores As Suppliers
      POST
    • Stock Location**
      POST
    • Customer Master
      POST
    • Company Group
      POST
    • Hierarchy Headers**
      POST
    • Hierarchy Details**
      POST
    • Article Hierarchy**
      POST
    • Article Attributes
      POST
    • ArticleGateKeeperMargin
      POST
  • transactional
    • Stock Ledger**
      POST
    • Bill Header**
      POST
    • Bill Detail**
      POST
    • Invoices Header**
      POST
    • Invoices Detail**
      POST
    • Supplier Invoice Acknowledgement
      POST
    • Purchase Order Header**
      POST
    • Purchase Order Detail
      POST
    • Transfer In Header**
      POST
    • Transfer In Detail**
      POST
    • Transfer Out Header**
      POST
    • Transfer Out Detail**
      POST
    • Transfer Advice Header
      POST
    • Transfer Advice Detail
      POST
  1. transactional

Purchase Order Detail

POST
/tx/po_detail/
transactional
Line level information for the purchases raised from the system.

Request

Query Params
full_sync
boolean 
optional
Whether the data should be synced in an incremental manner or completely. Defaults to false.
Header Params
X-SYNC-TOKEN
string 
required

<sync_token>

Accept-Encoding
string 
required
gzip (mandatory)
Body Params application/json
array of:
article_id
string 
required
store_id
string 
required
Store at which it is being purchased at.
sl_no
number 
required
Line number in the PO.
po_no
string 
required
Store local PO number - the po is available at the store/dc where GRN is done and this is when the local po number is generated.
This po no will be used to join with the PO Header dataset along with store_id.
ordered_quantity
number <double>
required
status
enum<string> 
required
Allowed values:
CLOSEDOPENEXPIREDCANCELLED
cp_per_unit_without_tax
number <double>
required
discount_amount
number <double>
required
tax_perc
number <double>
required
item_total_cp_without_tax
number <double>
required
cp_per_unit_without_tax x ordered_quantity
created_at
string <date-time>
required
Example
[
    {
        "article_id": "string",
        "store_id": "string",
        "sl_no": 0,
        "po_no": "string",
        "ordered_quantity": 0,
        "status": "CLOSED",
        "cp_per_unit_without_tax": 0,
        "discount_amount": 0,
        "tax_perc": 0,
        "item_total_cp_without_tax": 0,
        "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_detail/' \
--header 'X-SYNC-TOKEN;' \
--header 'Accept-Encoding;' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "article_id": "string",
        "store_id": "string",
        "sl_no": 0,
        "po_no": "string",
        "ordered_quantity": 0,
        "status": "CLOSED",
        "cp_per_unit_without_tax": 0,
        "discount_amount": 0,
        "tax_perc": 0,
        "item_total_cp_without_tax": 0,
        "created_at": "2019-08-24T14:15:22Z"
    }
]'

Responses

🟢200OK
application/json
Successful Sync
Body
status
string 
optional
message
string 
optional
Example
{
    "status": "string",
    "message": "string"
}
🟠403Forbidden
🟠405405
Modified at 2025-02-10 12:39:04
Previous
Purchase Order Header**
Next
Transfer In Header**
Built with