跳到主要内容

IDP.Integration.Bom.findGroupsByProductIdAsync() function

通过产品ID查询分组信息

Signature:

function findGroupsByProductIdAsync(option: {
orderId: string;
productIds: string[];
}): Promise<{
groups: BomGroupFull[];
}>;

Links: function findGroupsByProductIdAsync(option: { orderId: string; productIds: string[]; }): Promise<{ groups: BomGroupFull[]; }>;

Parameters

Parameter

Type

Description

option

{ orderId: string; productIds: string[]; }

查询信息

@vm-type AsyncFunctionType

Returns:

Promise<{ groups: BomGroupFull[]; }>