@shipengine/connect-order-source-api
Version:
This is the typescript/javascript definitions for the order source api
21 lines (20 loc) • 1.04 kB
TypeScript
import Joi from 'joi';
type Status = 'success' | 'failure';
/** @description Accept result item */
export declare class AcceptSalesOrderItemsResult {
/** @description Identifier for the requested accept notification */
notification_id: string;
/** @description An identifier provided by the order source to accept the items on the fulfillment */
confimation_code?: string;
/** @description Details given by the order source if the accept action fails */
failure_reason?: string;
/** @description Result status from the accept action performed on the item. Only supported values are 'success' or 'failure'. */
status: Status;
}
export declare const AcceptSalesOrderItemsResultSchema: Joi.ObjectSchema<any>;
/** @description A response for the accept action that was performed on any number of sales order items */
export declare class AcceptSalesOrderItemsResponse {
results: AcceptSalesOrderItemsResult[];
}
export declare const AcceptSalesOrderItemsResponseSchema: Joi.ObjectSchema<any>;
export {};