trump Product Documentation

« Back to Products Documentation

This product is primarily used by the indexer.

Version Specific Trump

Alter the preferred weight of a specific version of a reference product

Types

trump
Alters the preferred weight of a specific version of a reference product. If the trump is deleted, the default preferred weight is used. If the reference product is updated, the default preferred weight is used.

Trump products are only processed when the reference product is associated with an event. Trump deletes are only processed when both the original trump and the reference product are still in the index.

Sources

admin
Event Admin Web Pages (URL TBD)
Public Key

Status

UPDATE
Updates trump product. Preferred weight of reference product is updated to value indicated by this product. Most recent trump product for a given reference product will determine preferred weight.
DELETE
Removes an existing trump product. Preferred weight of reference product returns to original value.

Properties

weight
{Integer} The new preferred weight for the reference product.

Links

product
{String} The product id (URN) for the product to which this trump should be applied.

Contents

“” (inline content)
Comment explaining why the trump was sent.

Persistent Trump

Types

trump-TYPE
Alter the preferred weight of a reference product persistently. The TYPE portion of the product type is the Type of the product receiving trump, case-sensitive. Only one product of each type is actively trumped.

If the trump is deleted, the default preferred weight of the reference product is restored. If the reference product is updated, it inherits this trump. Weight is set to a fixed value of 100,000,000.

Sources

admin
Event Admin Web Pages (URL TBD)
Public Key

Status

UPDATE
Updates trump product. Preferred weight of reference product is updated, and preferred weights of any previously trumped products are reset to their default. The most recent trump product for a given product type determines the product that is preferred.
DELETE
Removes an existing trump product. Preferred weight of reference product returns to original value. If this unmasks an older trump product that had been superseded, the older trump will take effect.

Properties

trump-source
{String} Source of the product receiving trump, case-sensitive.
trump-code
{String} Code of the product receiving trump, case-sensitive.

Contents

“” (inline content)
Comment explaining why the trump was sent.