Create a refund adjustment on an order

Post a refund to a line item

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 v1 get_token route

clientintegerRequired
The ID of the client making the request

Request

This endpoint expects an object.
cp_refund_numberstringRequired
Seller Refund ID. Must be unique for all posted refunds.
refund_lineslist of objectsRequired

Response

Refund object
cp_refund_numberstring
Seller Refund ID. Must be unique for all posted refunds.
idstring
Unique identifier for a record
refund_lineslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error