Buyback Order API
Use these APIs to view and manage previously submitted Buyback Orders.
Routes
https://test.valorebooks.com/marketplace/buyback/order/{id} (qa)
https://api.valorebooks.com/marketplace/buyback/order/{id} (production)
GET
Get the full order details for an order
Parameters
Name
Located in
Description
Type
Content-Type
header
String
id
path
ID of the transaction
String
Responses
200
Details about your order
{
"orderId": 2544952,
"orderTotal": 48.35,
"items": [
{
"id": 6050208,
"isbn": "9781305577213",
"status": "Pending",
"price": 39.35
},
{
"id": 6050207,
"isbn": "9781118771334",
"price": 9.00,
"status": "Not Approved",
"rejectReason": "Damaged"
}
]
}
400
There was an error with your request
BuybackTransaction id is not a number `id`.
403
Your AWS credentials are not correct
No user found with given credentials.
No seller found with the given credentials.
404
Not found
BuybackTransaction not found for id `id`.
500
An internal error occurred
GET Get the full order details for an order
Parameters
Name | Located in | Description | Type |
---|---|---|---|
Content-Type | header | String | |
id | path | ID of the transaction | String |
Responses
200 Details about your order
{
"orderId": 2544952,
"orderTotal": 48.35,
"items": [
{
"id": 6050208,
"isbn": "9781305577213",
"status": "Pending",
"price": 39.35
},
{
"id": 6050207,
"isbn": "9781118771334",
"price": 9.00,
"status": "Not Approved",
"rejectReason": "Damaged"
}
]
}
400 There was an error with your request
BuybackTransaction id is not a number `id`.
403 Your AWS credentials are not correct
No user found with given credentials.
No seller found with the given credentials.
404 Not found
BuybackTransaction not found for id `id`.