UNPKG

@shipengine/connect-order-source-api

Version:

This is the typescript/javascript definitions for the order source api

31 lines (30 loc) 1.38 kB
import { RequestBase } from './request-base'; /** @description Requested reject item(s) notification */ export declare class RejectSalesOrderItemsNotification { /** @description Identifier for the requested reject notification */ notification_id: string; /** @description Unique order identifier from the order source */ order_id: string; /** @description Items the action should be applied to */ items: RequestedRejectItem[]; } /** @description Details about the requested item to reject */ export declare class RequestedRejectItem { /** @description Line item identifier provided by the order source */ line_item_id: string; /** @decription Message that the shipper can provide about the action being performed on the item */ message?: string; /** @description Quantity of the item */ quantity: number; /** @description Product information about the item */ product?: RequestedRejectProduct; } /** @description Product details about the requested item to reject */ export declare class RequestedRejectProduct { /** @description Product identifier provided by the order source */ product_id?: string; } /** @description A request to reject a number of sales order items in a sales order*/ export declare class RejectSalesOrderItemsRequest extends RequestBase { notifications: RejectSalesOrderItemsNotification[]; }