Create a refund

Create a refund in FeedAMP, FeedAMP will communicate the refund to the marketplace. A single refund can only be applied to one order line. A seller that wishes to refund more than one order line in an order must make multiple refunds in FeedAMP.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

order-idstringRequired
FeedAMP order id

Headers

tokenstringRequired

The Authentication token obtained from the get_token route.

clientintegerRequired
The id of the client making the request.

Response

Sample Response
idstring
FeedAMP unique refund id
order_idstring
FeedAMP unqiue order id that is being refunded
statestring
FeedAMP Refund State. Newly posted refunds are CREATED.
refund_infoobject