Skip to main content

createProductUomMapping

Create a unit-of-measure mapping for a trading partner: it maps an inbound EDI unit-of-measure code (e.g. "CA") to an internal packout hierarchy (each, inner pack, master carton, pallet) so inbound order lines convert to eaches. Choose CUSTOM to read the pack quantity from a numeric product attribute instead of a packout association. Scope the mapping to an integration today; the customer scope is reserved for when customers are modeled.

Permissions Required

  • products:create_uom_mapping permission.
createProductUomMapping(
input: CreateProductUomMappingInput!
): CreateProductUomMappingPayload

Arguments

createProductUomMapping.input ● CreateProductUomMappingInput! non-null input common

Parameters for CreateProductUomMapping

Type

CreateProductUomMappingPayload object common

Autogenerated return type of CreateProductUomMapping.