Cancel Order
Order cancellation is in beta. Please report any errors to Violet.
Cancel a complete Order
. This action will attempt to cancel the external order in the merchants system for every Bag
in the Order
. The total amount paid for each Bag
will be refunded to the shopper upon successful cancellation.
All Bag
’s must be in a cancellable state. If any Bag
has a status of IN_PROGRESS
, REFUNDED
, or CANCELED
the request will be rejected.
Path Parameters
Body
Custom message describing the reason for the cancellation.
255
Code that best represents the reason for the cancellation.
OTHER
, CUSTOMER
, INVENTORY
, FRAUD
, DECLINED
Should the items be restocked. In most cases this should be true
since only unfulfilled orders can be cancelled.
Should the customer be notified by the merchants system that a cancellation has occurred.
Response
Order Refund
ID of the Order being refunded
ID of the merchant making the refund
ID of the App that created the Order
ID of the Transaction being refunded
ID of the Transaction in the Payment Gateway
Amount being refunded. In Cents
ID of the Bag being refunded
Amount being taken back from the associated transfer to the merchant. In Cents
Amount being taken back from the associated transfer to the developer. In Cents
Amount in fractional currency unit (e.g. cents) being taken back from the associated transfer to the merchant, in platform currency.
Amount in fractional currency unit (e.g. cents) being taken back from the associated transfer to the developer, in platform currency.
Reason for refund
Reason code for refund
OTHER
, CUSTOMER
, INVENTORY
, FRAUD
, DECLINED
Currency set for this refund by the external ecom platform
Currency used by the platform account for the payment provider that processed this Refund
Status of the Refund
PROCESSING
, COMPLETED
, CANCELED
, PARTIALLY_COMPLETED
, FAILED
, EXTERNAL
SKUs the refund applies to
Date of creation
Date of last update
ID of the refund on the external commerce platform. This value will only be populated if the external commerce platform supports refund ID's.
List of errors associated to this refund during processing. This value will only be populated if there are errors during processing
Details of any refunded shipping amounts.
Tax amount being refunded. In Cents.
x > 0
Was this page helpful?