export declare enum ReturnError { /** * The request tried to create a return against an order, but one of the items in the return could not be created. The request was rejected. Corrective action: Check all input parameters. */ ERROR_CREATE_ORDER_RETURN_ITEM = "ERROR_CREATE_ORDER_RETURN_ITEM", /** * The request tried to retrieve a return on an order, but the order was not found. The request was rejected. Corrective action: Use the ID of a valid return, a string starting with 'orre'. */ ERROR_GET_ORDER_RETURN = "ERROR_GET_ORDER_RETURN", /** * The request attempted an operation that requires an order, but the order was not found. The request was rejected. Corrective action: Use the ID of a valid order, a string starting with 'order'. */ ERROR_MISSING_ORDER_ID = "ERROR_MISSING_ORDER_ID", /** * The request tried to create a return against an order, but the quantity was missing or not a positive integer, or the item was already returned, or the item in the return does not match any item in the order. The request was rejected. Corrective action: Check all input fields. */ ERROR_RETURN_ORDER_INVALID_ITEM_QUANTITY = "ERROR_RETURN_ORDER_INVALID_ITEM_QUANTITY", /** * The request tried to create a return against an order, but the order was not found. The request was rejected. Corrective action: Use the ID of an order that is in 'paid', 'fulfilled' or 'returned' status. */ ERROR_RETURN_ORDER_INVALID_ORDER = "ERROR_RETURN_ORDER_INVALID_ORDER", /** * The request tried to create a return against an order, but the SKU was not found. The request was rejected. Corrective action: Set 'parent' in each object in the 'items' array to the ID of an SKU in the order. */ ERROR_RETURN_ORDER_INVALID_SHIPPING_ITEM = "ERROR_RETURN_ORDER_INVALID_SHIPPING_ITEM", /** * The request tried to create a return against an order, but the item was a tax item and was not found in the order. The request was rejected. Corrective action: Check all input fields. */ ERROR_RETURN_ORDER_INVALID_TAX_ITEM = "ERROR_RETURN_ORDER_INVALID_TAX_ITEM", /** * The request tried to create a return against an order, but the order item was not found in the order. The request was rejected. Corrective action: Check all input fields. */ ERROR_RETURN_ORDER_RETURN_ITEM = "ERROR_RETURN_ORDER_RETURN_ITEM" } //# sourceMappingURL=ReturnError.d.ts.map