event

Project Product Variant Withdrawn

A made-to-order project variant was removed from its Design project.

EventStatus: Implemented in api-v1

Purpose

Domain event of design-management ProjectProductVariant. withdraw records it when a made-to-order row is removed.

This is not ProjectProductVariantReleased. Release is the stock path, when no collection still references a catalog variant. Withdraw has no catalog variant id and does not unpublish images.

Payload

Envelope is { name, occurredAt, payload }.

FieldTypeMeaning
projectIdstringDesign project domain id
projectProductVariantIdstringRemoved project variant domain id

Raised by

  • ProjectProductVariant.withdraw.
  • Drained after ForStoringMadeToOrderProjectVariants.delete succeeds. A failed delete dispatches nothing.
  • HTTP: POST /api/v1/design/projects/{projectId}/project-product-variants/{id}/actions/delete (withdrawMadeToOrderProjectVariant).

Consumers

None. The event is dispatched and no handler is registered.