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

Article Supplier Mapping**

POST
/master/article_supplier_mapping/
master
Captures which supplier is to be used for each article store. We identify 2 types of suppliers - primary and secondary. There can be multiple suppliers for an article.
Only one primary supplier is allowed for an article store but there can be any number of secondary suppliers.

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
supplier_id
string 
required
is_primary
boolean 
required
Example
[
  {
    "article_id": "string",
    "store_id": "string",
    "supplier_id": "string",
    "is_primary": true
  }
]

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

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 Master**
Next
DC - Store Mapping**
Built with