Describes a granularity at which inventory data can be aggregated. For example, if you use Marketplace granularity, the fulfillable quantity will reflect inventory that could be fulfilled in the given marketplace.

Granularity

interface Granularity {
    granularityId?: string;
    granularityType?: string;
}

Properties

granularityId?: string

The granularity ID for the specified granularity type. When granularityType is Marketplace, specify the marketplaceId.

Granularity

granularityType?: string

The granularity type for the inventory aggregation level.

Granularity