Refund Bag
Bag refunds is in beta. Please report any errors to Violet.
Initiate a refund on a Bag. This can be a full refund or a partial refund depending on the amounts you provide. This action will attempt to refund the external order in the merchants system.
Path parameters
order_idinteger · int64Required
bag_idinteger · int64Required
Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Body
Request used to initiate a bag refund.
reasonstring | nullableOptional
Custom reason message for the refund.
restock_itemsboolean | nullableOptionalDefault:
Should the items be restocked. Set to true when the order is being returned.
falsenotify_customerboolean | nullableOptionalDefault:
Should the customer be notified by the merchants system of the refund. If no value is provided the merchants default system configuration for this feature will be used.
falseamount_refundedinteger · int32 | nullableOptional
Amount that should be refunded in cents. If no value is provided the full bag amount will be refunded.
Responses
default
default response
application/json
post
/orders/{order_id}/bags/{bag_id}/refundsdefault
default response
Last updated
Was this helpful?