Refund Bag
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 · max: 255 · 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?