@spree/storefront-api-v2-sdk
Version:
Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on
12 lines (11 loc) • 472 B
TypeScript
import Http from '../Http';
import type { IOrderResult, StatusOptions } from '../interfaces/Order';
import type { IQuery } from '../interfaces/Query';
import type { IToken } from '../interfaces/Token';
export default class Order extends Http {
status(options: StatusOptions): Promise<IOrderResult>;
/**
* @deprecated Use the combined options signature instead.
*/
status(token: IToken, orderNumber: string, params?: IQuery): Promise<IOrderResult>;
}