Catalog items
The network's own item master (merchandising writes, aggregate CatalogItem).
Create a catalogue item (CreateCatalogItem)
Creates an ACTIVE catalogue item under a new catalogItemId and publishes CatalogItemCreated (with identifiers.gtin when given). Dimensions and weight must be positive. identifiers.gtin is optional and checked (GS1 mod-10); a GTIN another item or pack level holds is 409 gtin-already-assigned.
Discontinue a catalogue item (DiscontinueItem)
Moves the item from ACTIVE to DISCONTINUED, publishes CatalogItemDiscontinued and, in the same transaction, suppresses every LIVE or node-suppressed listing of the item with reason DISCONTINUED (one ListingSuppressed each; Gap Register G24). Discontinuing a DISCONTINUED item returns it unchanged and publishes nothing.
Declare a pack level of a catalogue item (DeclarePackLevel)
Declares the pack level (EACH, INNER, CASE or PALLET) identified by a GS1 GTIN and publishes CatalogItemPackagingDeclared (ADR 0006). unitsPerPack is in eaches: 1 for EACH, at least 2 above it and at least twice the child's. A level above EACH names the childGtin of an active lower level of the same item. The unitsPerPack of a GTIN is immutable: re-declaring an active GTIN with another count is 409 pack-quantity-immutable (a new count is a new GTIN). Declaring a NEW GTIN at a level that has an active one retires the old level (CatalogItemPackLevelRetired, then CatalogItemPackagingDeclared, one aggregate version). The identical declaration changes nothing and publishes nothing; new dimsMm or grossWeightG on an active GTIN are updated in place. A GTIN identifies one item or pack level, forever (409 gtin-already-assigned). A DISCONTINUED item takes no packaging change (409 illegal-transition).
Retire the active pack level of a catalogue item (RetirePackLevel)
Retires the active definition at the level and publishes CatalogItemPackLevelRetired. The definition is kept (active false), its GTIN is never reusable. A level that only has retired history is returned unchanged and publishes nothing; a level never declared is 404 pack-level-not-found. Takes no body.