- 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
Purchase Returns
POST
/master/purchase_returns/
master
Request
Header Params
X-SYNC-TOKEN
string
required
<sync_token>
Accept-Encoding
string
required
Body Params application/json
array of:
pr_id
string
required
article_id
string
required
store_id
string
required
supplier_id
string
required
return_date
string <date>
required
received_grn_id
string
required
quantity
number <double>
required
unitary_cp_without_tax
number <double>
required
tax_perc
number <double>
required
mrp
number <double>
required
status
enum<string>
optional
Allowed values:
cancelledclosedopen
adjusted_no
string
required
adjusted_date
string <date>
required
batch_no
string
required
Example
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/purchase_returns/' \
--header 'X-SYNC-TOKEN;' \
--header 'Accept-Encoding;' \
--header 'Content-Type: application/json' \
--data-raw ''
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