Get ISBN

Get ISBN

This API allows publisher/partner to get ISBN of the books by using the parameters mentioned below:

{ "ISBN":"9789390257973" }

Request URL

POST: https://works-uat.reproindialtd.com/api/reproGenus/getISBN

Parameters Description

Parameter Type Manadatory* Description
ISBN Number Manadatory* Gives you the ISBN (unique number) of the book.

Responses

Success:

{ "status": 1, "message": "Success", "data": [ { "itemID": 22119258, "skuCode": "RKC2000010169", "isbn": "4567891234561", "publisherName": "Ramesh Publishing House", "authorName": "RPH Editorial Board", "titleName": "Objective Mechnical Engineering", "publishedLanguage": "English", "bindingType": "Perfect Binding", "priceType": "White", "rrp": 220.0, "currencyCode": "Indian Rupee", "publicationDate": "01-Jan-2018", "bisacCode": "STUDY AIDS / General", "bicSubjectCode": "BIC SUBJECT CODE", "publicationCountry": "India", "paperGSM": 58.0, "casing": "Paperback", "laminationType": "Gloss Lamination", "pageCount": 296, "interiorColor": "Single Color", "coverColor": "Four Color", "coverType": "Simplex", "paperType": "White", "thickness": 13.245040000000001, "height": 241.0, "width": 184.0, "weight": 403.0, "trimGroup": "Medium", "trimSize": "241.0X184.0", "longDescription": "This book have more than 3100 Objective Questions.", "reproCategory": "TEST-PREP", "orientationType": null, "clothColor": null, "coverFinishing": null, "insertPages": null, "insertPosition": null, "insertFinishing": null, "perPageRatio": 0.7432432432432432, "colorManagement": null, "isSellable": false, "status": "1", "isContentAvailable": false, "thumbnailURL": "https://image-hub.reproindialtd.com/9789350125380.jpg", "content": [], "businessUnit": [ { "locationId": 4, "locationName": "Print on demand" }, { "locationId": 2, "locationName": "Short Run Digital Printing" } ] } ], "tag": "getISBN" }

Error:

Status: Token Invalid

{ "timestamp": "2021-06-09T05:25:05.444+0000", "status": 403, "error": "Forbidden", "message": "Access Denied", "path": "/api/reproGenus/getISBN" }

Create SKU

Create SKU

This API allows publisher/partner to create SKU by using the parameters mentioned below:

{ "bindingType": "Perfect Binding", "laminationType": "Gloss Lamination", "priceType": "RRP including tax", "currencyCode": "Indian Rupee", "rrp": 220, "publishedLanguage": "English", "publisherName": "Ramesh Publishing House", "publicationDate": "2018-01-01", "publicationCountry": "India", "titleName": "Objective Mechnical Engineering", "authorName": "RPH Editorial Board", "longDescription": "This book have more than 3100 Objective Questions.", "paperType": "White", "pageCount": 296, "paperGSM": 58, "interiorColor": "Single Color", "coverColor": "Four Color", "coverType": "Simplex", "casing": "Paperback", "height": 241, "width": 184, "bicSubjectCode": "BIC SUBJECT CODE", "bisacCode": "STUDY AIDS / General", "thumbnailURL": "https://image-hub.reproindialtd.com/9789350125380.jpg", "coverURL": "test/987889768724/new/987889768724_cover.pdf", "textURL": "test/987889768724/new/987889768724_interior.pdf", "contentProvider": "S3", "reproCategory": "TEST-PREP", "orientationType": "", "clothColor": "", "insertPosition": "", "coverFinishing": "", "isbn":"4567891234561", "lob": [ "POD", "SRDP" ] }

Request URL

POST: https://works-uat.reproindialtd.com/api/reproGenus/createSKU

Parameters Description

Parameter Type Manadatory* Description
bindingType String Manadatory* Tells you that what kind of binding is done for book like perfect binding.
laminationType String Manadatory* Tells you that what kind of lamination is done for book like gloss, matte.
priceType String Manadatory* Tells you the price type like if the final price is made after adding tax in RRP.
currencyCode String Optional Currency code helps you in finding which country order it is like INR represents that the order is from India.
rrp Number Manadatory* RRP is Repro Retail Price which is defined by repro itself.
publishedLanguage String Manadatory* The language of book in which it is printed.
publisherName String Manadatory* Tells you the name of publisher who is publishing that particular book.
publicationDate String Manadatory* On which date the book is published.
publicationCountry String Manadatory* In which country the book is published.
titleName String Manadatory* Can tell you the title(name) of the book.
authorName String Manadatory* The name of the person who writes the book.
longDescription String Manadatory* helps users to know the description of the book in brief which they can go through in less time.
paperType String Manadatory* The type of paper used in printing of the book like white paper, off-white.
pageCount Number Manadatory* Tells you that how many pages are there in the book.
paperGSM Number Manadatory* GSM is Grams per Square Meter which tells you that how much paper is used in the book.
interiorColor String Manadatory* Tells you that how many colors have been used in the interior (content) of the book like single color, two color, four color, etc.
coverColor String Manadatory* Tells you the color of the cover of the book like single color, two color, four color, etc.
coverType String Manadatory* The type of the cover used for the book like simplex, duplex.
casing String Manadatory* Can tell you the casing applied on the book either paperback or hardback.
height Number Manadatory* Can tell you the height of the book.
width Number Manadatory* Can tell you the width of the book.
bicSubjectCode String Optional Code which is used for differentiating the subject/type of the book like Art, Finance, etc.
bisacCode String Manadatory* Code which is used for differentiating the subject/type of the book like Art, Finance, etc.
thumbnailURL String Manadatory* Gives you the URL of the thumbnail (cover image) of the book.
coverURL String Optional Gives you the URL to download the cover in pdf format.
textURL String Optional Gives you the URL to download the interior (content) of the book in pdf format.
contentProvider String Optional Tells you about the content provider of the book like s3, URL, etc.
reproCategory String Manadatory* Defined by Repro itself.
orientationType String Optional Tells you about the orientation of the book like portrait or landscape.
clothColor String Optional Cloth color is used for binding of books, by default it is black and we have only one option available currently.
insertPosition String Optional Colored pages are called inserts. Can tell you where to add some inserts in the books.
coverFinishing String Optional Can tell you what kind of finishing is required for cover.
isbn Number Manadatory* Can tell you the ISBN (unique) number of each book.
lob String Manadatory* Can tell you the business unit of the book whehter it is POD or SRDP.

Responses

Success:

{ "status": 1, "message": "Sku created successfully", "data": { "reproSKU": "RKC2000010169" }, "tag": "createSKU" }

Error:

Status: Token Invalid

{ "timestamp": "2021-06-09T05:25:29.551+0000", "status": 403, "error": "Forbidden", "message": "Access Denied", "path": "/api/reproGenus/createSKU" }

Save Orders

Save Orders

This API allows publisher/partner to save the orders details by using the parameters mentioned below:

{ "orderList": [{ "shippingMode": "1", "order_location": "RIL", "businessUnit": "SRDP", "awbNo": "", "uniqueKey": "testorderDoc124564", "order_no": "testorderDoc124564", "order_type": "Prepaid", "payment_type": "CreditCard", "status": "Confirmed", "hold_status": "no", "address_verified": "yes", "payment_verified": "yes", "order_date": "10/05/2021 14:19:08", "shipby_date": "11/05/2021 14:19:08", "order_amount": "2103.60", "order_currency": "INR", "conversion_rate": "2.00", "is_replacement": "no", "original_orderno": "", "customer_name": "Lalit Mohan Joshi", "ship_address1": "Lal Danth Road, Haldwani", "ship_address2": "", "ship_city": "Haldwani", "ship_state": "Uttarakhand", "ship_country": "India", "ship_pincode": "263139", "ship_phone1": "7981773764", "ship_phone2": "", "ship_email1": "lmjdec@gmail.com", "ship_email2": "", "bill_name": "Lalit Mohan Joshi", "bill_address1": "Lal Danth Road, Haldwani", "bill_address2": "", "bill_city": "Haldwani", "bill_state": "Uttarakhand", "bill_country": "India", "bill_pincode": "263139", "bill_phone1": "7981773764", "bill_phone2": "", "bill_email1": "lmjdec@gmail.com", "bill_email2": "", "order_remarks": "Pleaseusebubblewrap", "shipping_charges": "", "other_charge1": "", "other_charge2": "", "store_credit": "", "other_discount": "", "discount_code": "", "cancel_remark": "", "is_giftwrap": "Yes", "giftwrap_msg": "Congratulations", "delivery_slot": "", "udf1": null, "udf2": null, "udf3": null, "udf4": null, "udf5": null, "udf6": null, "udf7": null, "custTinNo": "", "pickAfterDate": "", "items": [{ "lineno": "1", "isbn": "9781684665846", "order_qty": "20", "cancelled_qty": "0", "unit_price": "105.18", "bundle_sku": "", "bundle_price": "", "bundle_qty": "", "mrp": "105.18", "discount_amt": "0.00", "gift_voucher_amt": "", "shipping_charges": "0.00", "other_charge1": "0.00", "transporter": "", "store_credit": "", "is_giftcard": "No", "vendor": "v1100819", "mode": "wms", "tax_inclusive": "YES", "tax_percentage": "5", "udf1": null, "udf2": null, "udf3": null, "udf4": null, "udf5": null, "udf6": null, "udf7": null }], "docProvider":"base64", "document":"" } ] }

Request URL

POST: https://works-uat.reproindialtd.com/api/reproSeller/v1/saveOrders

Parameters Description

Parameter Type Manadatory* Description
shippingMode Number Manadatory* Provide your the mode of the shipment like surface or air.
businessUnit String Manadatory* Bussiness Unit can be one only by default i.e. SRDP.
order_location String Manadatory* Can tell you about the location from where that order can be fullfilled and it is provided by Repro.
awbNo String Optional Tracking ID to track order and currently not applicable.
uniqueKey String Manadatory* User have to give unique key(number) for each order.
order_no String Manadatory* Order number is also the unquie number for each order, so that we can easily differentiate between orders.
order_type String Manadatory* Order type means whether is order is prepaid or cash on delivery.
payment_type String Manadatory* Payment Type means the method of payment done while placing the order by customer like credit card, debit card, UPI, etc.
status String Manadatory* Can track the status of the each order like confirmed, dispatched, delivered, etc.
hold_status String Manadatory* Hold status is whether is processed the order i.e. confirmed or putting it on hold. By default its value is no because we can't put any status on hold.
address_verified String Manadatory* By default the value of address_verified is yes because we can process the order only when customer filled the complete address details.
payment_verified String Manadatory* By default the value of payment_verified is yes because we can process the order only when customer has made the payment and it successfull or it is cash on delivery.
order_date String Manadatory* Can tell you about the date on which order is placed.
shipby_date String Manadatory* Can tell you about the expected shipment date.
order_amount Number Manadatory* Can tell you about the total order amount.
order_currency String Manadatory* Helps you in finding out that the order is placed from which country like if it is in INR then it is from India, if it's in dollar then it from US, etc.
conversion_rate Number Manadatory* Helps you in telling you about the rate of INR with respect to the currency of the country in which order is placed.
is_replacement String Manadatory* By default the value of is_replacement is no because we can't openly define whether the replacement of the product is available or not.
original_orderno String Optional Can tell you the order number.
customer_name String Manadatory* Can tell you the name of the customer who have placed order.
ship_address1 String Manadatory* Customer's address on which the order is to be delivered. In ship_address1 customer can specify his/her Flat No, Street, Society, Locality, Area etc.
ship_address2 String Optional Customer's address on which the order is to be delivered. In ship_address2 customer can specify his/her Flat No, Street, Society, Locality, Area etc.
ship_city String Manadatory* In which city order is to be shipped.
ship_state String Manadatory* In which state order is to be shipped.
ship_country String Manadatory* In which country order is to be shipped.
ship_pincode Number Manadatory* Can tell you about the pincode of the city where order is shipping.
ship_phone1 Number Manadatory* Can tell you the phone number of the customer.
ship_phone2 Number Optional Can tell you the phone number of the customer.
ship_email1 String Manadatory* Can tell you the email id of the customer.
ship_email2 String Optional Can tell you the email id of the customer.
bill_name String Manadatory* Can tell you the name of the customer who have placed order.
bill_address1 String Manadatory* Customer's address on which the order is to be delivered. In bill_address1 customer can specify his/her Flat No, Street, Society, Locality, Area etc.
bill_address2 String Optional Customer's address on which the order is to be delivered. In bill_address2 customer can specify his/her Flat No, Street, Society, Locality, Area etc.
bill_city String Manadatory* In which city order is to be shipped.
bill_state String Manadatory* In which state order is to be shipped.
bill_country String Manadatory* In which country order is to be shipped.
bill_pincode Number Manadatory* Can tell you about the pincode of the city where order is shipping.
bill_phone1 Number Manadatory* Can tell you the phone number of the customer.
bill_phone2 Number Optional Can tell you the phone number of the customer.
bill_email1 String Manadatory* Can tell you the email id of the customer.
bill_email2 String Optional Can tell you the email id of the customer.
order_remarks String Manadatory* Customer writes when placing order like wrtie a message on the parcel, etc.
other_charge1 Number Optional Can tell you if any other charge is also making while placing order.
other_charge2 Number Optional Can tell you if any other charge is also making while placing order.
store_credit String Optional Pass data after consulting Repro only.
other_discount Number Optional Can tell you if any discount is available while placing order.
discount_code String Optional Can tell you about the code for discount to apply if discount is available.
cancel_remark String Optional Customer can put message(remark) if cancelling the order.
is_giftwrap String Manadatory* Tell the customer that they can gift wrap their product while placing order. By default the value for gift wrap is yes.
giftwrap_msg String Manadatory* Can tell you the message to write on the gift.
delivery_slot String Optional Can tell you the timings in between customer wants to get the delivery of the order.
udf1 String Optional udf is User Defined Fields which is defined by Repro.
udf2 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf3 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf4 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf5 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf6 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf7 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
custTinNo String Optional Customer Tin no is provided by customer only.
pickAfterDate String Optional Can tell you that after which date you have to pick the order to deliver.
docProvider String Mandatory* Tells you about the document (invoice, shipping label) provider like base64 or url.
document String Mandatory* Can provide data like URL for document, encoded string to get it decode by our system, etc.


Items Parameters Description

Parameter Type Manadatory* Description
lineno Number Mandatory* Tells the line number of the items if there are number of items available in one order.
isbn Number Mandatory* Tells the ISBN number of each item available in order.
order_qty Number Mandatory* Tells that how many number of the items available in one order.
cancelled_qty Number Mandatory* Tells that how many number of the items are cancelled in that order.
unit_price Number Mandatory* Tells the amount of each item present in that order.
bundle_sku String Optional Can tell you that if the item have ordered has set of books or not.
bundle_price Number Optional Can tell you about each book price separately present in the bundle of books.
bundle_qty Number Number Can tell you the number of books present in the bundle.
mrp Number Manadatory* Can tell you the mrp of the items available in order.
discount_amt Number Manadatory* Tells you about the amount of discount made on items in order list.
gift_voucher_amt Number Optional Tells you the amount of the gift voucher on items if availabe.
shipping_charges Number Manadatory* Tells you about the charges apply on items available in order.
other_charge1 Number Manadatory* Can tell you if any other charge applied on items available in order.
transporter String Optional Can tell you via which transporter mode the order is shipped like Bluedart.
store_credit String Optional Pass data after consulting Repro only.
is_giftcard String Manadatory* Default value is NO for now as there is no other option available currently.
vendor String Manadatory* Tells you about the vendor of each item available in order.
mode String Manadatory* Default mode is wms and you can't change it.
tax_inclusive String Manadatory* Can tell you if the tax is included in the item or not.
tax_percentage Number Manadatory* Can tell you about the tax percentage included in the amount, customer have to pay for the item while placing order.
udf1 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf2 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf3 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf4 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf5 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf6 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf7 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.

Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": { "requestId": "aa63aaa818744156bb053e0ac3af57d3", "orders": [ { "msg": "", "orderNumber": "testorderDoc124564", "status": 1 } ] }, "tag": "v1/saveOrders" }

Error:

Status: Token Invalid

{ "status": 0, "message": "User not found ", "data": {}, "tag": null }

Order Status

Order Status

This API allows customers to track their orders by using the parameters mentioned below:

{ "requestId":"015a4b65e0a6418d99f917a5ed425fa7" }

Request URL

POST: https://works-uat.reproindialtd.com/api/reproSeller/v1/checkRequestStatus

Parameters Description

Parameter Type Manadatory* Description
requestId String Mandatory* Request Id is generated at the time you place your order. You can use it to track your order i.e. success, failed, in progress.


Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": [ { "outputKey": "M621006", "errorDesc": null, "requestKey": "265242-221-00", "uniqueKey": "265242-221-00", "status": "Success" } ], "tag": "v1/checkRequestStatus" }

Error:

Status: Error

{ "status": 0, "message": "Error ", "data": {}, "tag": null }

Save POD Orders

Save POD Orders

This API allows publisher/partner to save the POD orders details by using the parameters mentioned below:

{ "orderList": [{ "shippingMode":"1", "businessUnit":"POD", "order_location": "RIL", "awbNo": "", "uniqueKey": "test3aod", "order_no": "test3aod", "order_type": "Prepaid", "payment_type": "CreditCard", "status": "Confirmed", "hold_status": "no", "address_verified": "yes", "payment_verified": "yes", "order_date": "17/02/2021 15:40:30", "shipby_date": "20/02/2021 15:40:30", "order_amount": "500.00", "order_currency": "INR", "conversion_rate": "2.00", "is_replacement": "no", "original_orderno": "", "customer_name": "Ram", "ship_address1": "H/No50,FirstFloor", "ship_address2": "ABCRoad,GreenPark", "ship_city": "Mumbai", "ship_state": "Maharashtra", "ship_country": "India", "ship_pincode": "400001", "ship_phone1": "9999112233", "ship_phone2": "", "ship_email1": "anujkaul86@gmail.com", "ship_email2": " ", "bill_name": "Ram", "bill_address1": "H/No50,FirstFloor", "bill_address2": "ABCRoad,GreenPark", "bill_city": "Mumbai", "bill_state": "Maharashtra", "bill_country": "India", "bill_pincode": "400001", "bill_phone1": "9999112233", "bill_phone2": "", "bill_email1": "anujkaul86@gmail.com", "bill_email2": "", "order_remarks": "Pleaseusebubblewrap", "shipping_charges": "50.00", "other_charge1": "55.00", "other_charge2": "5.00", "store_credit": "5.00", "other_discount": "", "discount_code": "", "cancel_remark": "", "is_giftwrap": "Yes", "giftwrap_msg": "Congratulations", "delivery_slot": "", "custTinNo": "", "pickAfterDate": "", "items": [{ "lineno": "1", "isbn": "1911203289003", "order_qty": "1", "cancelled_qty": "", "unit_price": "200.00", "bundle_sku": "", "bundle_price": "", "bundle_qty": "", "mrp": "320.00", "discount_amt": "120.00", "gift_voucher_amt": "", "shipping_charges": "50.00", "other_charge1": "55.00", "transporter": "", "store_credit": "", "is_giftcard": "No", "vendor": "V1100819", "mode": "wms", "tax_inclusive": "YES", "tax_percentage": "5" }], "docProvider":"base64", "document":"" }] }

Request URL

POST: https://works-uat.reproindialtd.com/api/reproSeller/v1/savePODOrders

Parameters Description

Parameter Type Manadatory* Description
shippingMode Number Manadatory* Provide your the mode of the shipment like surface or air.
businessUnit String Manadatory* Bussiness Unit can be one only by default i.e. SRDP.
order_location String Manadatory* Can tell you about the location from where that order can be fullfilled and it is provided by Repro.
awbNo String Optional Tracking ID to track order and currently not applicable.
uniqueKey String Manadatory* User have to give unique key(number) for each order.
order_no String Manadatory* Order number is also the unquie number for each order, so that we can easily differentiate between orders.
order_type String Manadatory* Order type means whether is order is prepaid or cash on delivery.
payment_type String Manadatory* Payment Type means the method of payment done while placing the order by customer like credit card, debit card, UPI, etc.
status String Manadatory* Can track the status of the each order like confirmed, dispatched, delivered, etc.
hold_status String Manadatory* Hold status is whether is processed the order i.e. confirmed or putting it on hold. By default its value is no because we can't put any status on hold.
address_verified String Manadatory* By default the value of address_verified is yes because we can process the order only when customer filled the complete address details.
payment_verified String Manadatory* By default the value of payment_verified is yes because we can process the order only when customer has made the payment and it successfull or it is cash on delivery.
order_date String Manadatory* Can tell you about the date on which order is placed.
shipby_date String Manadatory* Can tell you about the expected shipment date.
order_amount Number Manadatory* Can tell you about the total order amount.
order_currency String Manadatory* Helps you in finding out that the order is placed from which country like if it is in INR then it is from India, if it's in dollar then it from US, etc.
conversion_rate Number Manadatory* Helps you in telling you about the rate of INR with respect to the currency of the country in which order is placed.
is_replacement String Manadatory* By default the value of is_replacement is no because we can't openly define whether the replacement of the product is available or not.
original_orderno String Optional Can tell you the order number.
customer_name String Manadatory* Can tell you the name of the customer who have placed order.
ship_address1 String Manadatory* Customer's address on which the order is to be delivered. In ship_address1 customer can specify his/her Flat No, Street, Society, Locality, Area etc.
ship_address2 String Optional Customer's address on which the order is to be delivered. In ship_address2 customer can specify his/her Flat No, Street, Society, Locality, Area etc.
ship_city String Manadatory* In which city order is to be shipped.
ship_state String Manadatory* In which state order is to be shipped.
ship_country String Manadatory* In which country order is to be shipped.
ship_pincode Number Manadatory* Can tell you about the pincode of the city where order is shipping.
ship_phone1 Number Manadatory* Can tell you the phone number of the customer.
ship_phone2 Number Optional Can tell you the phone number of the customer.
ship_email1 String Manadatory* Can tell you the email id of the customer.
ship_email2 String Optional Can tell you the email id of the customer.
bill_name String Manadatory* Can tell you the name of the customer who have placed order.
bill_address1 String Manadatory* Customer's address on which the order is to be delivered. In bill_address1 customer can specify his/her Flat No, Street, Society, Locality, Area etc.
bill_address2 String Optional Customer's address on which the order is to be delivered. In bill_address2 customer can specify his/her Flat No, Street, Society, Locality, Area etc.
bill_city String Manadatory* In which city order is to be shipped.
bill_state String Manadatory* In which state order is to be shipped.
bill_country String Manadatory* In which country order is to be shipped.
bill_pincode Number Manadatory* Can tell you about the pincode of the city where order is shipping.
bill_phone1 Number Manadatory* Can tell you the phone number of the customer.
bill_phone2 Number Optional Can tell you the phone number of the customer.
bill_email1 String Manadatory* Can tell you the email id of the customer.
bill_email2 String Optional Can tell you the email id of the customer.
order_remarks String Manadatory* Customer writes when placing order like wrtie a message on the parcel, etc.
shipping_charges String Manadatory* Tells you tha how much we have charged for shipping.
other_charge1 Number Optional Can tell you if any other charge is also making while placing order.
other_charge2 Number Optional Can tell you if any other charge is also making while placing order.
store_credit String Optional Pass data after consulting Repro only.
other_discount Number Optional Can tell you if any discount is available while placing order.
discount_code String Optional Can tell you about the code for discount to apply if discount is available.
cancel_remark String Optional Customer can put message(remark) if cancelling the order.
is_giftwrap String Manadatory* Tell the customer that they can gift wrap their product while placing order. By default the value for gift wrap is yes.
giftwrap_msg String Manadatory* Can tell you the message to write on the gift.
delivery_slot String Optional Can tell you the timings in between customer wants to get the delivery of the order.
udf1 String Optional udf is User Defined Fields which is defined by Repro.
udf2 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf3 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf4 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf5 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf6 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf7 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
custTinNo String Optional Customer Tin no is provided by customer only.
pickAfterDate String Optional Can tell you that after which date you have to pick the order to deliver.
docProvider String Mandatory* Tells you about the document (invoice, shipping label) provider like base64 or url.
document String Mandatory* Can provide data like URL for document, encoded string to get it decode by our system, etc.


Items Parameters Description

Parameter Type Manadatory* Description
lineno Number Mandatory* Tells the line number of the items if there are number of items available in one order.
isbn Number Mandatory* Tells the ISBN number of each item available in order.
order_qty Number Mandatory* Tells that how many number of the items available in one order.
cancelled_qty Number Mandatory* Tells that how many number of the items are cancelled in that order.
unit_price Number Mandatory* Tells the amount of each item present in that order.
bundle_sku String Optional Can tell you that if the item have ordered has set of books or not.
bundle_price Number Optional Can tell you about each book price separately present in the bundle of books.
bundle_qty Number Number Can tell you the number of books present in the bundle.
mrp Number Manadatory* Can tell you the mrp of the items available in order.
discount_amt Number Manadatory* Tells you about the amount of discount made on items in order list.
gift_voucher_amt Number Optional Tells you the amount of the gift voucher on items if availabe.
shipping_charges Number Manadatory* Tells you about the charges apply on items available in order.
other_charge1 Number Manadatory* Can tell you if any other charge applied on items available in order.
transporter String Optional Can tell you via which transporter mode the order is shipped like Bluedart.
store_credit String Optional Pass data after consulting Repro only.
is_giftcard String Manadatory* Default value is NO for now as there is no other option available currently.
vendor String Manadatory* Tells you about the vendor of each item available in order.
mode String Manadatory* Default mode is wms and you can't change it.
tax_inclusive String Manadatory* Can tell you if the tax is included in the item or not.
tax_percentage Number Manadatory* Can tell you about the tax percentage included in the amount, customer have to pay for the item while placing order.
udf1 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf2 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf3 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf4 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf5 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf6 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.
udf7 String Optional udf is User Defined Fields - a custom field which is passed after consulting Repro only.

Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": { "requestId": "ee0baa2ca10c44e2960dcf6b8e4acdcf", "orders": [ { "msg": "", "orderNumber": "test3pod", "status": 1 } ] }, "tag": "v1/saveOrders" }

Error:

Status: Token not found

{ "timestamp": "2021-06-09T05:24:09.010+0000", "status": 403, "error": "Forbidden", "message": "Access Denied", "path": "/api/reproSeller/v1/savePODOrders" }

Get Order Status

Get Order Status

This API allows publisher/partner to get the status of the orders like like packed, picked, dispatched, delivered, etc by using the parameters mentioned below:

{ "fromDate":"", "toDate":"", "orderNo":"R3348", "offset":0, "limit":100 }

Request URL

POST: https://works-uat.reproindialtd.com/api/reproSeller/v1/getOrderStatus

Parameters Description

Parameter Type Manadatory* Description
fromDate String Optional Help the user to know about the status of the order starting from the mentioned date.
toDate String Optional Help the user to know about the status of the order till the mentioned date.
orderNo String Manadatory* Order number helps the user to get the status of the every order individually.
offset Number Optional By defining offset user can set the start(minimum) value to fetch that number of order status at a time.
limit Manadatory* Opitonal Can put limit on number of order status to be fetched at a time.By default the value of limit is set to 100

Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": { "orders": [ { "orderLocation": "M54", "orderNumber": "187039-221-00", "orderType": "SO", "status": 13, "statusName": "Shipped complete", "orderAmount": 4299.68, "paymentMethod": "DropShip", "orderCurrency": "INR", "conversionRate": 1.0, "orderRemarks": null, "shippingCharges": 249.48, "storeCredit": 0.0, "giftvoucher": 0.0, "otherDiscount": 0.0, "discountCode": "0.00", "cancelRemark": "", "giftwrapMsg": "", "deliverySlot": "", "customDataField1": "762", "customDataField2": "", "customDataField3": "221", "customDataField4": "ReproCredit", "customDataField5": "1", "discountAmount": 0.0, "taxAmount": 0.0, "mode": "wms", "originalOrderno": "", "fulfillmentLocCode": "R35", "orderSourceName": "SRDP PB REWARI", "collectibleAmount": 0.0, "orderSource": "ERP", "masterorderNo": "M544108", "priority": "Normal", "shipAddress1": "Bldg. 3-C, Wing A-1, Flat 4, New Ajanta Avenue,", "shipAddress2": "Paud Road,Krishna Hospital,Pune,Maharashtra", "shipCity": "Pune", "shipState": "Maharashtra", "shipCountry": "INDIA", "shipPincode": "411038", "shipPhone": "9511876956", "shipEmail": "amey.k@reproindialtd.com", "billAddress1": "Notion Press Media pvt ltd", "billAddress2": "Paud Road,Krishna Hospital,Pune,Maharashtra", "billCity": "Pune", "billState": "Maharashtra", "billCountry": "INDIA", "billPincode": "411038", "billPhone": "9511876956", "billEmail": "amey.k@reproindialtd.com", "items": [ { "sku": "RKC2000766351", "skuName": "The Path of Prometheus_hardbound", "orderQty": 70, "cancelledQty": 0, "shippedQty": 70, "returnQty": 0, "unitPrice": 57.86, "discountAmt": 0.0, "taxAmount": 0.0, "openQty": 0 } ] } ] }, "tag": "v1/getOrderStatus" }

Error:

Status: Token Invalid

{ "status": 0, "message": "User not found ", "data": {}, "tag": null }

Get Order Document

Get Order Document

This API allows publisher/partner to get order document like invoice or shipping label by using the parameters mentioned below:

[{ "orderNo":"403-6244989-6838718_DGlncj9mP", "docType":"shipLabel" }]

Request URL

POST: https://works-uat.reproindialtd.com/api/reproSeller/v1/getOrderDocuments

Parameters Description

Parameter Type Manadatory* Description
orderNo String Manadatory* Help user in finding particular order to get its document.
docType String Manadatory* Doc Type can be shipping label or invoice. User can get any of it.

Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": [ { "responseCode": 1, "responseMessage": "Success", "response": { "orderNo": "187039-221-00", "docType": "invoice", "data": [] } } ], "tag": "v1/getOrderDocuments" }

Error:

Status: Token Invalid

{ "status": 0, "message": "User not found ", "data": {}, "tag": null }

Save Order Document

Save Order Document

This API allows publisher/partner to save order document like shipping label or invoice by using the parameters mentioned below:

[{ "orderNo":"403-6244989-6838718_DGlncj9mP", "docType":"shipLabel", "data":"" }]

Request URL

POST: https://works-uat.reproindialtd.com/api/reproSeller/v1/saveOrderDocuments

Parameters Description

Parameter Type Manadatory* Description
orderNo String Manadatory* Help user in finding particular order to get its document.
docType String Manadatory* Doc Type can be shipping label or invoice. User can save/download any of it.
data String Manadatory* Can provide data like URL for document, encoded string to get it decode by our system, etc.

Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": [ { "orderNumber": "187039-221-00", "error": null, "docId": 679644 } ], "tag": "v1/saveOrderDocuments" }

Error:

Status: Token Invalid

{ "status": 0, "message": "User not found ", "data": {}, "tag": null }

Get Shipment Details

Get Shipment Details

This API allows publisher/partner to know about the shipment details of any order like tracking number, weight of items, location, shipping mode etc by using the parameters mentioned below:

{ "fromDate":"", "toDate":"", "orderNo":"R3348", "offset":0, "limit":100 }

Request URL

POST: https://works-uat.reproindialtd.com/api/reproSeller/v1/getShipmentDetails

Parameters Description

Parameter Type Manadatory* Description
fromDate String Optional Help the user to know about the shipment details starting from the mentioned date.
toDate String Optional Help the user to know about the shipment details till the mentioned date.
orderNo String Manadatory* Order number helps the user to get the complete shipment details of every order individually.
offset Number Optional By defining offset user can set the start(minimum) value to fetch that number of shipment details at a time.
limit Manadatory* Opitonal Can put limit on number of shipment detials to be fetched at a time.By default the value of limit is set to 100

Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": { "shipmentList": [ { "orderNumber": "187039-221-00", "giftWrapMsg": "", "shippingAddress": "3-C, New Ajanta Avenue, Pune, Maharashtra", "mobileNo": "9511876956", "orderLocation": "M54", "isGiftWrap": false, "items": [ { "qty": 70, "transporter": "BLURDART", "transporterstatus": "", "transCode": "", "transporterRemarks": "", "shipByDate": null, "deliveredDate": null, "sku": "RKC2000766351", "status": "Shipped", "deliveryNumber": "R35410856352", "awbNumber": "1-1" } ], "totalCost": 4299.68, "status": "Shipped complete" } ] }, "tag": "v1/getShipmentDetails" }

Error:

Status: Token Invalid

{ "status": 0, "message": "User not found ", "data": {}, "tag": null }

Get Invoice Details

Get Invoice Details

This API allows publisher/partner to check/view the invoice of any order by using the parameters mentioned below:

{ "fromDate":"", "toDate":"", "orderNo":"R3348", "offset":0, "limit":100 }

Request URL

POST: https://works-uat.reproindialtd.com/api/reproSeller/v1/getInvoiceDetails

Parameters Description

Parameter Type Manadatory* Description
fromDate String Optional Help the user to know about the invoices details starting from the mentioned date.
toDate String Optional Help the user to know about the invoices details till the mentioned date.
orderNo String Manadatory* Order number helps the user to get the invoice of every order individually.
offset Number Optional By defining offset user can set the start(minimum) value to fetch that number of invoices details at a time.
limit Number Manadatory* Can put limit on number of invoices detials to be fetched at a time.By default the value of limit is set to 100.

Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": { "invoceList": [ { "isVerified": true, "codCharge": 0.0, "discountAmount": 0.0, "invoiceAmount": 4299.68, "invoiceCurrency": "INR", "isOnHold": false, "giftVoucher": 0.0, "mode": "0", "invoiceNumber": "R35-2019/20-003327", "customDataField5": "1", "customDataField4": "ReproCredit", "customDataField3": "221", "shippingCharges": 249.48, "customDataField1": "762", "invoiceDate": "09-Jan-2021 09:56:15", "conversionRate": 1.0, "handlingCharge": 0.0, "storeCredit": 0.0, "deliverySlot": "null", "paymentMethod": "DropShip", "otherDiscount": 0.0, "taxAmount": 0.0, "isGiftWrap": false, "items": [ { "sku": "RKC2000766351", "orderQty": 70, "cancelledQty": 0, "shippedQty": 70, "returnQty": 0, "unitPrice": 57.86, "discountAmt": 0.0, "taxAmount": null } ] } ] }, "tag": "v1/getInvoiceDetails" }

Error:

Status: Token Invalid

{ "status": 0, "message": "User not found ", "data": {}, "tag": null }

Get Modified Orders

Get Modified Orders

This API provides order details for orders modified between provided to from dates in the ReproWorks system. This API only provides 1000 orders at a time. If the results exceed a 1000 orders, the to from datetime should be minimised. This API is using the parameters mentioned below:

{ "fromDate":"29-Jun-2021 08:00:00", "toDate" :"29-Jun-2021 08:15:00" }

Request URL

POST: https://works.reproindialtd.com/api/reproSeller/v1/getModifiedOrders

Parameters Description

Parameter Type Manadatory* Description
fromDate String Manadatory* Help the user to know about the status of the modified order starting from the mentioned date.
toDate String Manadatory* Help the user to know about the status of the modified order till the mentioned date.

Order Status

Status Code Status Description
1 Open Open
2 Confirmed As soon as order is created on our system.
3 Pending Pending
4 Delivered Delivered
5 Rejected Rejected
6 Approved Approved
7 Allocated Once order is ready pick & pack when and inventory inbounded in WMS and allocated to specific order.
8 Part Allocated Part Allocated
9 Closed Closed
10 Pick complete Pick complete
11 Approval Pending Approval Pending
12 CR Sent CR Sent
13 Shipped complete Once order is shipped.
14 Cancelled When order cancelled by customer or market place.
15 Part Picked Part Picked
16 Inventory Check Inventory Check
17 Packed Packed
18 Shipped & Returned When order is returned and we inward physical return book in our WMS.
19 Partially Shipped Partially Shipped
20 Auto Approved Auto Approved

Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": { "moreOrdersAvailable": "No", "orders": [ { "orderLocation": "M42", "orderNumber": "OD222063097992862000_22206309799286200", "orderType": "SO", "status": 18, "statusName": "Shipped & Returned", "orderAmount": 712.0, "paymentMethod": "COD", "orderCurrency": "INR", "conversionRate": 1.0, "orderRemarks": null, "shippingCharges": 33.0, "storeCredit": 0.0, "giftvoucher": 0.0, "otherDiscount": 0.0, "discountCode": "0.00", "cancelRemark": "", "giftwrapMsg": "", "deliverySlot": "", "customDataField1": "GREEN_PACKAGE", "customDataField2": "", "customDataField3": "", "customDataField4": "", "customDataField5": "", "discountAmount": 0.0, "taxAmount": 0.0, "mode": "wms", "originalOrderno": "", "fulfillmentLocCode": "RB2", "orderSourceName": "Flipkart LSP POD MUM", "collectibleAmount": 712.0, "orderSource": "M42", "masterorderNo": "8ebc2dc9-67f2-4346-8516-a44aea4ef195_SS-1", "priority": "", "shipAddress1": "Siva Shankar bakery", "shipAddress2": "Pulivendula", "shipCity": "Pulivendula", "shipState": "Andhra Pradesh", "shipCountry": "INDIA", "shipPincode": "516390", "shipPhone": "NA", "shipEmail": "G.sivabandayya.@test.com", "billAddress1": "Siva Shankar bakery", "billAddress2": "Pulivendula", "billCity": "Pulivendula", "billState": "Andhra Pradesh", "billCountry": "INDIA", "billPincode": "516390", "billPhone": "NA", "billEmail": "G.sivabandayya _test@test.com", "orderCreatedOn": "29-Jun-2021 08:42:00", "lastModifiedOn": "29-Jun-2021 08:42:00", "items": [ { "sku": "RKC1007032636", "skuName": "English Bulldog Spring Notebook", "orderQty": 1, "cancelledQty": 0, "shippedQty": 1, "returnQty": 1, "unitPrice": 679.0, "discountAmt": 0.0, "taxAmount": 0.0, "openQty": 0 } ] } ] }, "tag": "v1/getModifiedOrders" }

Error:

Status: Token Invalid

{ "status": 0, "message": "User not found ", "data": {}, "tag": null }

Get Modified NQ Orders

Get Modified NQ Orders

This API provides order details for orders modified between provided to from dates (must be in UTC time zone) in the ReproWorks system. This API only provides 1000 orders at a time. If the results exceed a 1000 orders, the to from datetime should be minimised. This API is using the parameters mentioned below:

{ "fromDate":"29-Jun-2021 08:00:00", "toDate" :"29-Jun-2021 08:15:00" }

Request URL

POST: https://works.reproindialtd.com/api/reproSeller/v1/getModifiedNQOrders

Parameters Description

Parameter Type Manadatory* Description
fromDate String Manadatory* Help the user to know about the status of the modified NQ order starting from the mentioned date.
toDate String Manadatory* Help the user to know about the status of the modified NQ order till the mentioned date.

Order Status

Status Code Status Description
2 Confirmed As soon as order is created on our system.
7 Allocated Once order is ready pick & pack when and inventory inbounded in WMS and allocated to specific order.
13 Shipped complete Once order is shipped.
14 Cancelled When order cancelled by customer or market place.
18 Shipped & Returned When order is returned and we inward physical return book in our WMS.

Responses

Success:

{ "status": 1, "message": "SUCCESS", "data": { "moreOrdersAvailable": "No", "orders": [ { "orderLocation": "M68", "orderNumber": "407-2759076-9755563~D661Y9fF5", "orderType": "SO", "status": 18, "statusName": "Shipped & Returned", "orderAmount": 450.0, "paymentMethod": "Prepaid", "orderCurrency": "INR", "conversionRate": 1.0, "orderRemarks": null, "shippingCharges": 0.0, "storeCredit": 0.0, "giftvoucher": 0.0, "otherDiscount": 0.0, "discountCode": "0.00", "cancelRemark": "", "giftwrapMsg": "", "deliverySlot": "", "customDataField1": "AMAZON_IN", "customDataField2": "FBA", "customDataField3": "A15DBATYR506U3", "customDataField4": "", "customDataField5": "", "discountAmount": 0.0, "taxAmount": 0.0, "mode": "wms", "originalOrderno": "", "fulfillmentLocCode": "R32", "orderSourceName": "Amazon Smart XNRF", "collectibleAmount": 0.0, "orderSource": "M68", "masterorderNo": "c178b59e-dd33-4dde-9d10-3a67e5899593", "priority": "", "shipAddress1": "No Address Provided", "shipAddress2": "No Address Provided", "shipCity": "-", "shipState": "-", "shipCountry": "INDIA", "shipPincode": "285001", "shipPhone": "9999999999", "shipEmail": "Amazon@amazonOrder.com", "billAddress1": "No Address Provided", "billAddress2": "No Address Provided", "billCity": "-", "billState": "-", "billCountry": "INDIA", "billPincode": "285001", "billPhone": "9999999999", "billEmail": "Amazon@amazonOrder.com", "orderCreatedOn": "14-Apr-2021 02:17:28", "lastModifiedOn": "24-Jun-2021 11:01:10", "items": [ { "sku": "RKC2001232877", "skuName": "Reasoning Book With Piyush Varshney (Hindi Medium)", "orderQty": 1, "cancelledQty": 0, "shippedQty": 1, "returnQty": 1, "unitPrice": 450.0, "discountAmt": 0.0, "taxAmount": 0.0, "openQty": 0 } ], "lob": "POD" } ] }, "tag": "v1/getModifiedNextqoreOrders" }

Error:

Status: Token Invalid

{ "status": 0, "message": "User not found ", "data": {}, "tag": null }

Fetch MSP Details

Fetch MSP Details

This API helps in fetching the MSP Details by using the parameters mentioned below:

{ "isbn":["9789352614035"] }

Request URL

POST: https://works-uat.reproindialtd.com/fetchMspDetails

Parameters Description

Parameter Type Manadatory* Description
ISBN Number Manadatory* Tells the ISBN number of each item available in MSP.

Responses

Success:

{ "status": 1, "message": "Success", "data": [ { "publisherComp": 333.5, "fee1": 0.0, "fee2": 0.0, "fee3": 0.0, "fee4": 0.0, "fee5": 0.0, "fee6": 0.0, "pubCompOn": null, "channel": "Amazon Flex India", "channelCode": "M47", "pubCompCalculatedOn": "07-Dec-2021", "isbn": "9789352614035", "msp": 438.0, "perPageRatio": 0.33, "marginValue": 0.17, "mrp": 725.0, "coverRate": 15.0, "mspCalculatedOn": "03-Dec-2021", "etailCalculatedOn": "NA", "fdMspErrorMessage": "NA", "partner": "Diamond Publication", "weight": 1822.0, "bindingType": "Perfect Binding", "textColour": "Single Color", "paperGsm": 58, "paperType": "White", "coverType": "Simplex", "height": "260.000", "width": "203.000", "pageCount": 918, "perPageRageCalculatedOn": "03-Dec-2021", "multiplierCalculatedOn": "22-Nov-2021", "packagingFee": 15.0, "modifiedOn": "18-Nov-2021" } ], "tag": "fetchMspDetails" }

Error:

Status: ISBN Null or Empty

{ "status": 0, "message": "ISBN can't be empty", "data": "", "tag": "fetchMspDetails" }

Fetch Orders

Fetch Orders

This API helps in fetching the Orders by using the parameters mentioned below:

{ "fromDate":"", "toDate":"", "business Unit":"4", "offset":0, "limit":100 }

Request URL

POST: https://works-uat.reproindialtd.com/api/reproSeller/v1/getInvoiceDetails

Parameters Description

Parameter Type Manadatory* Description
fromDate String Manadatory* Help the user to know about the order details starting from the mentioned date.
toDate String Manadatory* Help the user to know about the order details till the mentioned date.
businessUnit Number Manadatory* Can tell you the business unit of the book whehter it is SRDP or POD.
offset Number Optional By defining offset user can set the start(minimum) value to fetch that number of order details at a time.
limit Number Manadatory* Can put limit on number of order detials to be fetched at a time.By default the value of limit is set to 100.

Responses

Success:

{ "status" : 1, "message" : "SUCCESS", "data" : { "orders" : [ { "orderNo" : "NATIONALBOOKSTALL_1-57-00", "isbn" : 9789351507307, "totalQuantity" : 48, "unitPrice" : 106.6, "podQty" : "0", "stockQty" : "0", "orderDate" : "23-Jul-2022 00:00:00", "orderCreatedDate" : "23-Jul-2022 09:38:52", "status" : "Shipped complete", "channel" : "Other channels", "publisherCompensation" : null } ] }, "tag" : "fetchOrders" }

Error:

Status: Token Invalid

{ "status": 0, "message": "User not found ", "data": {}, "tag": null }