- 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
Wastages
POST
/master/wastages/
master
Request
Header Params
X-SYNC-TOKEN
string
required
<sync_token>
Accept-Encoding
string
required
Body Params application/json
array of:
article_id
string
required
store_id
string
required
batch_no
string
required
damage_id
string
required
voucher_type
enum<string>
optional
Allowed values:
damagetheftwastage
wasted_qty
number <double>
required
total_damage_qty
number <double>
required
recorded_date
string <date>
required
wastage_type
enum<string>
required
Allowed values:
damagetheftwastage
total_cp_without_tax
number <double>
required
tax_perc
number <double>
required
Example
[
{
"article_id": "string",
"store_id": "string",
"batch_no": "string",
"damage_id": "string",
"voucher_type": "damage",
"wasted_qty": 0,
"total_damage_qty": 0,
"recorded_date": "2019-08-24",
"wastage_type": "damage",
"total_cp_without_tax": 0,
"tax_perc": 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/wastages/' \
--header 'X-SYNC-TOKEN;' \
--header 'Accept-Encoding;' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"article_id": "string",
"store_id": "string",
"batch_no": "string",
"damage_id": "string",
"voucher_type": "damage",
"wasted_qty": 0,
"total_damage_qty": 0,
"recorded_date": "2019-08-24",
"wastage_type": "damage",
"total_cp_without_tax": 0,
"tax_perc": 0
}
]'
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