/Orders/{orderID}/Refund PUT

Provide an update on the status of a Refund that has previously been requested for the specified Order.

URL
/Orders/{orderID}/Refund
Verb
PUT

Headers

Header Data Type Valid Values Required Description
Content-Type string application/json YES The format your data will be sent to our site.
X-DevKey string string YES The devkey assigned to the developer.
X-AccessToken string string YES The token acquired from a POST to Users/AccessToken.

Input

NOTE: Variables to place in the path of the request.

Parameter Data Type Valid Values Description
OrderID integer positive # Order ID for the Refund.

Input

NOTE: Variables to place in the body of the request.

Parameter Data Type Valid Values Description
SellerID integer positive # The GunBroker SellerID associated with this Order.
RefundSuccessful boolean true/false Was the Refund processed successfully?
RefundType integer 1 - Partial Refund

2 - Full Refund
What type of Refund was this?

Output

If there are errors with input parameters, this call will respond with a 400 Bad Request and a Message Response.

If the order cannot be updated, this call will respond with a 403 Forbidden and a Message Response.

If there are no errors, this call will respond with a 200 OK and a Message Response indicating the order was updated.