@shipengine/connect-order-source-api
Version:
This is the typescript/javascript definitions for the order source api
38 lines • 1.75 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CancelSalesOrderItemsRequest = exports.RequestedCancelProduct = exports.RequestedCancelItem = exports.CancelSalesOrderItemsNotification = void 0;
const request_base_1 = require("./request-base");
/** @description Requested cancel item(s) notification */
class CancelSalesOrderItemsNotification {
/** @description Identifier for the requested cancel notification */
notification_id;
/** @description Unique order identifier from the order source */
order_id;
/** @description Items the action should be applied to */
items;
}
exports.CancelSalesOrderItemsNotification = CancelSalesOrderItemsNotification;
/** @description Details about the requested item to cancel */
class RequestedCancelItem {
/** @description Line item idenifier provided by the order source */
line_item_id;
/** @decription Message that the shipper can provide about the action being performed on the item */
message;
/** @description Quantity of the item */
quantity;
/** @description Product information about the item */
product;
}
exports.RequestedCancelItem = RequestedCancelItem;
/** @description Product details about the requested item to cancel */
class RequestedCancelProduct {
/** @description Product identifier provided by the order source */
product_id;
}
exports.RequestedCancelProduct = RequestedCancelProduct;
/** @description A request to cancel a number of sales order items in a sales order*/
class CancelSalesOrderItemsRequest extends request_base_1.RequestBase {
notifications;
}
exports.CancelSalesOrderItemsRequest = CancelSalesOrderItemsRequest;
//# sourceMappingURL=cancel-sales-order-items-request.js.map