Skip to main content

ProductUomMapping

A trading partner's unit-of-measure dialect: maps an inbound EDI unit-of-measure code (e.g. Whole Foods 'CA') to an internal packout hierarchy so order lines convert to eaches. Applies to all of the partner's products; the pack quantity is read per product at resolution time.

type ProductUomMapping {
createdAt: ISO8601DateTime!
customerId: ID
externalUomCode: String!
id: ID!
integrationId: ID
packoutHierarchy: PackoutHierarchyEnum!
productAttributeDefinitionId: ID
updatedAt: ISO8601DateTime!
}

Fields

ProductUomMapping.createdAt ● ISO8601DateTime! non-null scalar common

When the row was created.

ProductUomMapping.customerId ● ID scalar common

The customer this mapping is scoped to, if any (reserved; customers are not yet modeled).

ProductUomMapping.externalUomCode ● String! non-null scalar common

The trading partner's unit-of-measure code (e.g. CA, IP, PL).

ProductUomMapping.id ● ID! non-null scalar common

Unique identifier for the mapping row.

ProductUomMapping.integrationId ● ID scalar common

The integration this mapping is scoped to, if any.

ProductUomMapping.packoutHierarchy ● PackoutHierarchyEnum! non-null enum products

The internal packout level this code converts to.

ProductUomMapping.productAttributeDefinitionId ● ID scalar common

For a CUSTOM mapping, the numeric product attribute that holds the pack quantity.

ProductUomMapping.updatedAt ● ISO8601DateTime! non-null scalar common

When the row was last updated.

Returned By

productUomMappings query

Member Of

CreateProductUomMappingPayload object ● UpdateProductUomMappingPayload object