@shipengine/connect-fulfillment-provider-api
Version:
OpenAPI specification and TypeScript definitions for the Connect Fulfillment Provider API
15 lines (14 loc) • 506 B
TypeScript
import { SalesOrderFulfillments, Error } from '..';
export type GetFulfillmentsResponse = (SalesOrderFulfillments & {
polling?: {
is_final_update_state?: boolean;
max_age_seconds?: number;
};
}) | GetFulfillmentsErrorResponse;
export type GetFulfillmentsErrorResponse = {
errors: GetFulfillmentsError[];
};
export type GetFulfillmentsError = Error<GetFulfillmentsErrorCode>;
export declare enum GetFulfillmentsErrorCode {
fulfillments_not_found = "fulfillments_not_found"
}