Dcove
  1. master
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**
    • Bill Header**
    • Bill Detail**
    • Invoices Header**
    • Invoices Detail**
    • Supplier Invoice Acknowledgement
    • Purchase Order Header**
    • Purchase Order Detail
    • Transfer In Header**
    • Transfer In Detail**
    • Transfer Out Header**
    • Transfer Out Detail**
    • Transfer Advice Header
    • Transfer Advice Detail
  1. master

Current Stock**

POST
/master/current_stock/
master
Captures the current stock of the article at each point. Both stores and warehouses are to be included. Stock locations are also considered and can be ignored later on based on configuration.

Request

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
stock_location_id
string 
required
The id of the stock location.
current_stock
number <double>
required
Example
[
  {
    "article_id": "string",
    "store_id": "string",
    "stock_location_id": "string",
    "current_stock": 0
  }
]

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/master/current_stock/' \
--header 'X-SYNC-TOKEN;' \
--header 'Accept-Encoding;' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "article_id": "string",
        "store_id": "string",
        "stock_location_id": "string",
        "current_stock": 0
    }
]'

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
Article Store Limits
Next
Stores As Suppliers
Built with